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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'PingFang SC', 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #fff;
  color: #1e0e62;
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* Container */
.container {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
}

/* ==================== Navigation ==================== */
.navigation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px 5%;
  z-index: 1000;
}

.navigation .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 1200px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #1e0e62;
}

.logo img {
  width: 48px;
  height: 48px;
}

.guide {
  display: flex;
  gap: 40px;
  font-size: 16px;
}

.guide a:hover {
  opacity: 0.8;
}

.download-btn {
  width: 100px;
  height: 40px;
  border: 2px solid #ebeaed;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 500;
  color: #1e0e62;
  transition: all 0.3s ease;
}

.download-btn:hover {
  background: #1e0e62;
  color: #fff;
  border-color: #1e0e62;
}

/* ==================== Hero Section ==================== */
.hero {
  padding: 150px 5% 0;
  background: linear-gradient(to bottom, #fff, #f0f2ff);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.hero-text {
  text-align: center;
  margin-bottom: 40px;
}

.hero-text h1 {
  font-size: 72px;
  font-weight: 600;
  color: #1e0e62;
  margin-bottom: 18px;
}

.hero-text h2 {
  font-size: 96px;
  font-weight: 600;
  background: linear-gradient(165.93deg, #644fff 8.49%, #b700ff 91.89%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  font-size: 24px;
  font-weight: 500;
  color: rgba(21, 20, 57, 0.4);
  margin-top: 18px;
  margin-left: auto;
  margin-right: auto;
  max-width: 800px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
}

.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 200px;
  height: 60px;
  background: #111;
  color: #fff;
  border-radius: 100px;
  font-size: 18px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #333;
}

.btn-primary .icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-primary .icon img {
  width: 100%;
  height: 100%;
  filter: brightness(0) invert(1);
}

.btn-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 200px;
  height: 60px;
  background: #fff;
  color: #111;
  border: 1px solid #111;
  border-radius: 100px;
  font-size: 18px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: #111;
  color: #fff;
}

.btn-outline .icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-outline .icon img {
  width: 100%;
  height: 100%;
}

.btn-outline:hover .icon img {
  filter: brightness(0) invert(1);
}

.cta-info {
  display: flex;
  gap: 104px;
  font-size: 16px;
  color: rgba(21, 20, 57, 0.4);
}

.cta-info span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cta-info .icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-info .icon img {
  width: 100%;
  height: 100%;
}

.hero-screenshot {
  width: 100%;
  max-width: 1200px;
  height: auto;
  aspect-ratio: 16 / 10;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
}

.hero-screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==================== Section Title ==================== */
.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: 48px;
  font-weight: 600;
  color: #1e0e62;
}

.section-title p {
  font-size: 24px;
  font-weight: 500;
  color: rgba(21, 20, 57, 0.4);
  margin-top: 20px;
}

/* ==================== Advantage Section ==================== */
.advantage {
  padding: 100px 5%;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.advantage-list {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.advantage-item {
  flex: 1;
  min-width: 250px;
  max-width: 280px;
  padding: 40px 24px;
  border: 2px solid #ebeaed;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.advantage-icon {
  width: 100px;
  height: 100px;
}

.advantage-icon img {
  width: 100%;
  height: 100%;
}

.advantage-item h3 {
  font-size: 28px;
  font-weight: 500;
  color: #1e0e62;
}

.advantage-item h4 {
  font-size: 20px;
  font-weight: 600;
  color: #644fff;
  margin-top: 8px;
}

.advantage-item p {
  font-size: 24px;
  font-weight: 500;
  color: rgba(21, 20, 57, 0.4);
}

/* ==================== Feature Section ==================== */
.feature {
  padding: 100px 5%;
  background: #f7f8f9;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.feature .btn-primary {
  display: flex;
  width: 200px;
  height: 52px;
  margin: 0 auto 49px auto;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
  width: 100%;
}

.feature-item {
  display: flex;
  gap: 48px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.feature-item.reverse {
  flex-direction: row-reverse;
}

.feature-image {
  width: 50%;
  min-width: 300px;
  height: auto;
  aspect-ratio: 16 / 9;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-badge {
  position: absolute;
  bottom: 50%;
  transform: translateY(50%);
  left: 50%;
  transform: translateX(-50%) translateY(50%);
  font-size: 40px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.feature-content {
  flex: 1;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.feature-content h3 {
  font-size: 28px;
  font-weight: 500;
  color: #1e0e62;
}

.feature-content p {
  font-size: 24px;
  font-weight: 500;
  color: rgba(21, 20, 57, 0.4);
}

/* ==================== Download Section ==================== */
.download {
  padding: 100px 5%;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.download-list {
  display: flex;
  gap: 40px;
}

.download-item {
  flex: 1;
  padding: 40px;
  background: #fff;
  border: 2px solid #ebeaed;
  border-radius: 10px;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  position: relative;
}

.download-badge {
  position: absolute;
  top: -1px;
  right: 24px;
  background: linear-gradient(135deg, #644fff 0%, #b700ff 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 0 0 6px 6px;
}

.download-icon {
  width: 120px;
  height: 120px;
  border-radius: 36px;
  overflow: hidden;
}

.download-icon img {
  width: 100%;
  height: 100%;
}

.download-item h3 {
  font-size: 24px;
  font-weight: 500;
  color: #1e0e62;
}

.download-item > p {
  font-size: 16px;
  color: rgba(21, 20, 57, 0.4);
}

.download-features {
  text-align: left;
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
}

.download-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: rgba(21, 20, 57, 0.4);
  padding: 8px 0;
}


.download-features li img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
 }

.download-item .btn-primary,
.download-item .btn-outline {
  width: 200px;
  height: 52px;
  margin-top: 24px;
}

/* ==================== FAQ Section ==================== */
.faq {
  padding: 100px 5%;
  background: #f7f8f9;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question span {
  font-size: 16px;
  font-weight: 600;
  color: #1e0e62;
}

.faq-icon {
  width: 20px;
  height: 20px;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: #1e0e62;
}

.faq-icon::before {
  width: 12px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 2px;
  height: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

.faq-item.opened .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
  padding: 0 20px 20px;
}

.faq-answer p {
  font-size: 16px;
  color: rgba(21, 20, 57, 0.4);
  line-height: 1.6;
}

.faq-item:not(.opened) .faq-answer {
  display: none;
}

/* ==================== Contact Section ==================== */
.contact {
  padding: 100px 5%;
  background: #1e0e62;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact .section-title h2,
.contact .section-title p {
  color: #fff;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  color: #fff;
}

.contact-icon {
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

/* ==================== Footer ==================== */
.footer {
  padding: 26px 5%;
  background: #1e0e62;
}

.footer .container {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.footer-divider {
  width: 100%;
  max-width: 1200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
}

.footer-menu {
  display: flex;
  gap: 80px;
  font-size: 16px;
  color: #fff;
}

.footer-menu a:hover {
  opacity: 0.8;
}

.footer-copyright {
  font-size: 16px;
  color: #fff;
  text-align: right;
}

/* ==================== Responsive ==================== */
@media (max-width: 1200px) {
  .container {
    width: 100%;
    padding: 0 20px;
  }

  .navigation .container {
    width: 100%;
    padding: 0 20px;
  }

  .hero-text h1 {
    font-size: 48px;
  }

  .hero-text h2 {
    font-size: 64px;
  }

  .section-title h2 {
    font-size: 48px;
  }

  .advantage-list {
    flex-wrap: wrap;
  }

  .advantage-item {
    min-width: 300px;
  }

  .feature-item {
    flex-direction: column !important;
  }

  .feature-image {
    width: 100%;
  }

  .download-list {
    flex-wrap: wrap;
  }

  .download-item {
    min-width: 300px;
  }

  .faq-list {
    width: 100%;
    max-width: 800px;
  }
}

@media (max-width: 768px) {
  .navigation {
    height: 80px;
  }

  .guide {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    display: none;
  }

  .guide.mobile-open {
    display: flex;
  }

  .navigation .download-btn {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
  }

  .mobile-menu-btn .menu-line {
    display: block;
    width: 100%;
    height: 2px;
    background: #1e0e62;
    transition: all 0.3s ease;
  }

  .mobile-menu-btn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  body.menu-open {
    overflow: hidden;
  }

  .hero-text h1 {
    font-size: 36px;
  }

  .hero-text h2 {
    font-size: 48px;
  }

  .hero-text p {
    font-size: 18px;
  }

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

  .cta-info {
    flex-direction: column;
    gap: 16px;
  }

  .section-title h2 {
    font-size: 36px;
  }

  .section-title p {
    font-size: 18px;
    margin-top: 24px;
  }

  .advantage-list,
  .download-list {
    flex-direction: column;
  }

  .footer-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
  }

  .footer-content {
    flex-direction: column;
    gap: 24px;
  }

  .footer-copyright {
    text-align: center;
  }
}

/* ==================== Animations ==================== */
.advantage-item,
.feature-item,
.download-item,
.faq-item,
.contact-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.advantage-item.animate-in,
.feature-item.animate-in,
.download-item.animate-in,
.faq-item.animate-in,
.contact-item.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animation for list items */
.advantage-item:nth-child(1) { transition-delay: 0s; }
.advantage-item:nth-child(2) { transition-delay: 0.1s; }
.advantage-item:nth-child(3) { transition-delay: 0.2s; }

.download-item:nth-child(1) { transition-delay: 0s; }
.download-item:nth-child(2) { transition-delay: 0.1s; }

.faq-item:nth-child(1) { transition-delay: 0s; }
.faq-item:nth-child(2) { transition-delay: 0.05s; }
.faq-item:nth-child(3) { transition-delay: 0.1s; }
.faq-item:nth-child(4) { transition-delay: 0.15s; }

/* Desktop: hide mobile menu button */
.mobile-menu-btn {
  display: none;
}
