@font-face {
  font-family: 'ShinyCrystal';
  src: url('/fonts/ShinyCrystal-Yq3z4.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background: #fafafa;
  color: #111;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  position: relative;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Demo Screenshots */
.demo-images {
  pointer-events: none;
  z-index: 0;
}

.demo {
  position: fixed;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  opacity: 0.95;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.demo-1 {
  width: 500px;
  top: 100px;
  left: 80px;
  transform: rotate(-6deg);
}

.demo-3 {
  width: 460px;
  top: 300px;
  right: 80px;
  transform: rotate(3deg);
}

main {
  position: relative;
  z-index: 1;
}

.container {
  text-align: center;
  padding: 3rem 2rem;
  max-width: 450px;
}

.logo {
  margin-bottom: 1.75rem;
  color: #111;
}

.logo img {
  width: 88px;
  height: 88px;
}

.container h1 {
  font-family: 'ShinyCrystal', sans-serif;
  font-size: 4.5rem;
  font-weight: normal;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

.tagline {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.download-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 1.75rem;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s ease;
  border: 1px solid #ddd;
  background: #fff;
  color: #111;
  cursor: pointer;
}

.download-btn:hover {
  border-color: #111;
}

.download-btn.primary {
  background: #111;
  color: #fff;
  border-color: #111;
}

.download-btn.primary:hover {
  background: #333;
}

.btn-icon-arrow {
  width: 26px;
  height: 26px;
  filter: invert(1);
}

.download-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease;
  min-width: 180px;
  overflow: hidden;
}

.download-dropdown.show {
  opacity: 1;
  visibility: visible;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  color: #111;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.15s ease;
}

.dropdown-item:hover {
  background: #f5f5f5;
}

.dropdown-icon {
  width: 18px;
  height: 18px;
}

.version {
  font-size: 0.9rem;
  color: #999;
  margin-bottom: 2.5rem;
}

.links {
  font-size: 0.95rem;
}

.links a {
  color: #666;
  text-decoration: none;
}

.links a:hover {
  color: #111;
}

.divider {
  color: #ccc;
  margin: 0 0.5rem;
}

.btn-icon {
  height: 18px;
  width: auto;
}

.download-btn.primary .btn-icon {
  filter: invert(1);
  height: 20px;
}

@media (max-width: 1400px) {
  .demo {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 2rem 1.5rem;
  }

  .logo img {
    width: 56px;
    height: 56px;
  }

  .container h1 {
    font-size: 2.5rem;
  }
}

/* Content Pages (Privacy, Terms, About) */
body.content-page {
  display: block;
  background: #fafafa;
}

.content-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.9rem;
  margin-bottom: 2rem;
  color: #666;
  display: flex;
  align-items: center;
}

.breadcrumb a {
  color: #111;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}

.breadcrumb a:hover {
  opacity: 0.7;
}

.breadcrumb .home-icon {
  width: 18px;
  height: 18px;
}

.breadcrumb-sep {
  margin: 0 0.5rem;
  color: #999;
}

/* Content Text */
.content-container h1 {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: #111;
}

.content-text {
  color: #444;
  line-height: 1.7;
  font-size: 0.95rem;
}

.content-text h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #111;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.content-text h3 {
  font-size: 1rem;
  font-weight: 500;
  color: #111;
  margin-bottom: 0.75rem;
}

.content-text p {
  margin-bottom: 1rem;
}

.content-text a {
  color: #111;
  text-decoration: underline;
}

.content-text a:hover {
  color: #666;
}

/* Signature */
.signature {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.signature-name {
  font-family: 'ShinyCrystal', sans-serif;
  font-size: 2rem;
  color: #111;
}

.signature-date {
  font-size: 0.85rem;
  color: #999;
}

/* Page Footer */
.page-footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #ddd;
  text-align: center;
}

.page-footer .links {
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  transition: opacity 0.15s ease;
}

.social-icons a:hover {
  opacity: 1;
}

.social-icons img {
  width: 20px;
  height: 20px;
}

/* Reviews Section */
.reviews-section {
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111;
  margin-bottom: 1.25rem;
}

.reviews-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.review-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 1.25rem;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ddd;
}

.review-name {
  font-weight: 500;
  color: #111;
  font-size: 0.95rem;
}

.review-message {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* FAQ Section */
.faq-section {
  margin-bottom: 1rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  padding: 1rem 1.25rem;
  font-weight: 500;
  color: #111;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.25rem;
  color: #999;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
  content: '-';
}

.faq-answer {
  padding: 0 1.25rem 1rem;
  color: #555;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* Mobile Responsive */
@media (max-width: 480px) {
  .content-container {
    padding: 2rem 1.5rem;
  }

  .content-container h1 {
    font-size: 1.5rem;
  }

  .review-card {
    padding: 1rem;
  }
}
