/* Product page layout - clean & minimal */
.product-page nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1rem 0;
  isolation: isolate;
  font-weight: 500;
  background-color: var(--nav-bg, rgba(255, 255, 255, 0.8));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.product-page nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.product-page nav .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #000;
}

.product-page nav .logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.product-page nav .desktop-nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.product-page nav .desktop-nav-links .cta-appstore {
  margin-left: 4rem;
}

.product-page nav .mobile-nav-links {
  display: none;
  line-height: 0;
}

.product-page nav .mobile-nav-content {
  display: none;
  line-height: 1.2;
}

.product-page nav .mobile-nav-toggle {
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  color: #000;
  line-height: 0;
}

@media (max-width: 768px) {
  .product-page nav .desktop-nav-links {
    display: none;
  }

  .product-page nav .mobile-nav-links {
    display: block;
  }

  .product-page nav .mobile-nav-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s, padding 0.3s;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-radius: 0 0 8px 8px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 1rem;
  }

  /* 毛玻璃放在伪元素上，避免与 overflow: hidden 冲突导致不生效 */
  .product-page nav .mobile-nav-content::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: var(--nav-bg, rgba(255, 255, 255, 0.8));
    border-radius: inherit;
    z-index: -1;
  }

  .product-page nav .mobile-nav-links.open .mobile-nav-content {
    max-height: 350px;
    /* Adjust value as needed to fit the menu content */
    padding: 1rem;
  }

  .product-page nav .mobile-nav-links .mobile-nav-content a:not(.cta-appstore) {
    display: block;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: #000;
    border-radius: 8px;
  }
}

.product-page nav .mobile-nav-links a:not(.cta-appstore):hover {
  background-color: #f0f0f0;
}

.product-page main {
  text-align: left;
  display: flex;
  flex-direction: column;
}

.product-page .section-content {
  padding: 2rem;
}

.app-store-badges {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 650px;
  gap: 1.5rem;
}

.app-store-badges>* {
  flex: 1;
}

.app-store-badge-description {
  margin-top: 1.5rem;
  font-weight: 500;
  font-size: 1.3rem;
}

.product-page .app-store-badge {
  background-color: #fff;
  color: #333;
  width: fit-content;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(var(--primary-color-rgb), 0.2);
  box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
}

.product-page .hero {
  background-image: linear-gradient(120deg, rgba(var(--primary-color-rgb), 0.1) 0%, rgba(var(--primary-color-rgb), 0.02) 100%);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  padding-top: 7rem;
  padding-bottom: 3rem;
  position: relative;
  isolation: isolate;
}

.product-page .hero-bg-blur {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(10px);

  pointer-events: none;
  z-index: 1;
}

.product-page .hero-bg-gradient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.product-page .hero .section-content {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 3;
}

.product-page .hero-content {
  max-width: 50%;
  transition: max-width 0.3s ease-in-out;
}

.product-page .hero h1 {
  font-size: 6rem;
  font-weight: 600;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  transition: font-size 0.3s ease-in-out;
}

.product-page .hero .slogan {
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 4rem;
  margin-top: 0;
  transition: font-size 0.3s ease-in-out;
}

.product-page .hero .description {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 4rem;
}

.product-page .hero .tagline {
  font-size: 0.7rem;
  color: #666;
  margin-top: 1rem;
}

.product-page .hero .cta-appstore {
  font-size: 1.125rem;
}

.product-page .app-store-badge-container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.product-page .app-store-free-download::before,
.product-page .app-store-inapp-purchase::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 0.5rem;
}

.product-page .app-store-free-download::before {
  background-color: #EA4B01;
}

.product-page .app-store-inapp-purchase::before {
  background-color: #03C579;
}

.product-page .cta-appstore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  background: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 500;
  transition: opacity 0.2s;
}

.product-page .cta-appstore:hover {
  opacity: 0.85;
}

.product-page section h2 {
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
}

.product-page .features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-page .features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.product-page .features li:last-child {
  border-bottom: none;
}

.product-page .features .feature-icon {
  flex-shrink: 0;
  width: 1.5rem;
  text-align: center;
  color: #666;
}

.product-page .screenshots {
  background-color: rgba(var(--primary-color-rgb), 0.05);
}

.product-page .screenshot-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  grid-auto-rows: 1fr;
}

.product-page .faq-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-page .faq-list li {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f0f0f0;
}

.product-page .faq-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.product-page .faq-list .q {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: #222;
}

.product-page .faq-list .a {
  color: #555;
}

.product-page .faq-section {
  margin-top: 2rem;
}

.product-page .faq-section:first-of-type {
  margin-top: 0;
}

.product-page .faq-section summary {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
  color: #666;
  cursor: pointer;
  list-style: none;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f0f0f0;
}

.product-page .faq-section summary::-webkit-details-marker {
  display: none;
}

.product-page .faq-section summary::after {
  content: "▾";
  display: inline-block;
  margin-left: 0.5rem;
  font-size: 0.9rem;
  color: #999;
  transform: translateY(-1px);
}

.product-page .faq-section[open] summary::after {
  content: "▴";
}

.product-page .faq-section summary+.faq-list {
  margin-top: 0.75rem;
}

.product-page .contact {
  background-color: rgba(var(--primary-color-rgb), 0.05);
}

.product-page .contact .section-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.product-page .footer-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 96rem) {
  .product-page .hero-content {
    max-width: 80%;
  }
}

@media (max-width: 80rem) {
  .product-page .hero-content {
    max-width: 90%;
  }
}

@media (max-width: 64rem) {
  .product-page .hero-content {
    max-width: 100%;
  }
}

@media (max-width: 48rem) {
  .product-page .screenshot-grid img {
    max-width: 160px;
  }

  .product-page .hero {
    padding-top: 80px;
  }

  .product-page .hero .section-content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .product-page .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 100%;
  }

  .product-page .hero-footer {
    text-align: center;
  }

  .product-page .hero h1 {
    display: block;
  }

  .product-page .hero-image {
    width: 100%;
  }

  .product-page .cta-appstore {
    width: 100%;
    font-size: 1.2rem;
    height: 52px;
  }

  .product-page .features li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .product-page .features .feature-icon {
    display: none;
  }

  .product-page .screenshot-grid {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
  }

  .product-page .screenshot-grid img {
    max-width: 100%;
  }

  .product-page .contact .section-content {
    flex-direction: column-reverse;
    align-items: flex-start;
  }
}