/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  background-color: #0a0a0a;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  padding: 20px 0;
  text-align: center;
}

.logo-img {
  height: 130px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

/* Hero Section */
.hero {
  padding: 30px 0 50px;
  text-align: center;
}

.hero-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 40px;
  color: #ffffff;
}

.highlight {
  color: #d4af37;
  font-weight: 700;
}

/* Video Section */
.video-section {
  padding: 40px 0;
  background: #202020;
}

.section-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 500;
  text-align: center;
  /* margin-bottom: 60px; */
  color: #ffffff;
}

.step-number {
  color: #d4af37;
  font-weight: 600;
}

.video-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.video-text {
  width: 250px;
  margin-right: 20px;
}

.video-img {
  height: 300px;
}

.video-img-div {
  position: relative;
}

.video-text-div {
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  bottom: 0;
  font-size: 14px;
  padding: 5px 10px;
}

.video-text-div > div:nth-child(1) {
  color: #d4af37;
}

.video-wrapper {
  position: relative;
  background: #1a1a1a;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.video-thumbnail {
  width: 100%;
  height: auto;
  display: block;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease;
  z-index: 10;
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.play-button:focus {
  outline: 2px solid #d4af37;
  outline-offset: 2px;
  border-radius: 50%;
}

.video-controls {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 5;
}

.progress-bar {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: #3249c6;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.video-time {
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
}

/* CTA Section */
.cta-section {
  padding: 60px 0;
  text-align: center;
}

/* Testimonials */
.testimonials {
  padding: 80px 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.1);
}

.testimonial-card p {
  font-size: 16px;
  line-height: 1.6;
  color: #e0e0e0;
}

.testimonial-card strong {
  color: #d4af37;
  font-weight: 600;
}

.testimonial-subtitle {
  text-align: center;
  font-size: 18px;
  color: #b0b0b0;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Student Results */
.student-results {
  padding: 80px 0;
  text-align: center;
}

.student-badge {
  display: inline-block;
  background: #d4af37;
  color: #000000;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  margin-bottom: 30px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.student-badge:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.results-showcase {
  margin-top: 60px;
}

/* .result-item {
  max-width: 600px;
  margin: 0 auto;
  animation: fadeInUp 1s ease-out;
} */

.result-screenshot {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.result-screenshot:hover {
  transform: scale(1.02);
}

.result-text {
  font-size: 18px;
  color: #d4af37;
  font-weight: 500;
  font-style: italic;
}

/* Three Pillars */
.three-pillars {
  padding: 100px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 60px;
  margin-top: 80px;
}

.pillar {
  text-align: center;
}

.pillar-title {
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 40px;
  color: #ffffff;
  animation: fadeInUp 0.8s ease-out;
}

.pillar-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
  transition: all 0.3s ease;
  text-align: left;
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.feature-image {
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
}

.feature-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.feature-img:hover {
  transform: scale(1.05);
}

.feature-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffffff;
}

.feature-description {
  font-size: 15px;
  line-height: 1.7;
  color: #b0b0b0;
}

/* Footer */
.footer {
  padding: 60px 0 40px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
  font-size: 14px;
  color: #808080;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.footer-link {
  color: #d4af37;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-link:focus {
  outline: 2px solid #d4af37;
  outline-offset: 2px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: slideInUp 0.6s ease-out forwards;
}

.highlighted {
  border: 2px solid #d4af37 !important;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3) !important;
}

/* 确保标题内容始终可见 */
.hero-title,
.section-title {
  opacity: 1 !important;
  transition: none !important;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
  background: #d4af37;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #b8941f;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .hero {
    padding: 20px 0 40px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .video-section,
  .testimonials,
  .student-results,
  .three-pillars {
    padding: 60px 0;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 60px;
  }

  .footer-links {
    flex-direction: column;
    gap: 20px;
  }

  .video-controls {
    bottom: 10px;
    left: 10px;
    right: 10px;
  }

  .cta-img {
    height: 150px !important;
  }

  .link {
    height: 50px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .feature-card {
    padding: 20px;
  }

  .testimonial-card {
    padding: 20px;
  }

  .video-text {
    width: 150px;
    margin-right: 10px;
    font-size: 12px;
  }

  .video-img {
    height: 200px;
  }

  .video-text-div {
    font-size: 12px;
  }

  .cta-img {
    height: 100px !important;
  }

  .link {
    height: 50px !important;
  }

  .cta-text {
    flex-direction: column;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Print styles */
@media print {
  .video-section,
  .footer {
    display: none;
  }

  body {
    background: white;
    color: black;
  }
}

/* Focus indicators for accessibility */
button:focus,
a:focus {
  outline: 2px solid #d4af37;
  outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.results-showcase {
  overflow: hidden;
  background-color: #000;
  padding: 30px 0;
}

.marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll-left 35s linear infinite;
  align-items: center;
}

.swiper-slide {
  flex-shrink: 0;
  margin-right: 20px;
  width: max-content;
}

.result-item {
  border-radius: 12px;
  padding: 16px;
  color: #fff;
  text-align: center;
  width: max-content;
}

.result-image img {
  display: block;
  height: auto;
  width: auto; 
  border-radius: 8px;
  border: 1px solid rgb(239, 191, 4);
}

.result-text {
  margin-top: 10px;
  font-size: 0.9rem;
}

/* 关键动画部分 */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.cta-img {
  height: 240px; 
  width: auto;
  margin: 10px 0;
}

.link {
  height: 120px; /* 从80px增加到120px */
  width: auto;
  animation: pulse 2s infinite;
  transition: transform 0.3s ease;
}

.link:hover {
  transform: scale(1.2);
  animation: none; /* 悬停时停止放大动画 */
}

/* 放大动画 */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.cta-text {
  width: 350px;
  font-size: 10px;
  display: flex;
  align-items: center;
  margin: 0 auto;
}

.cta-text img {
  height: 30px;
  width: auto;
}

.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #000;
  padding: 20px;
  font-family: Arial, sans-serif;
}

.time-box {
  background-color: #4e3200; /* 深棕色背景 */
  border-radius: 10px;
  padding: 10px 0;
  text-align: center;
  min-width: 80px;
}

.time-number {
  font-size: 32px;
  font-weight: bold;
  color: #f4b43c; /* 金黄色数字 */
}

.time-label {
  font-size: 16px;
  color: #ffffff; /* 白色标签 */
  margin-top: 5px;
}

.colon {
  font-size: 32px;
  color: white;
  padding: 0 5px;
}

/* 移除敏感内容隐藏规则，现在使用JavaScript动态生成内容 */
