/* CSS Reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background: #fafbfc;
  font-family: 'Manrope', Arial, sans-serif;
  color: #222;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  letter-spacing: 0.02rem;
}
main {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.main-section {
  display: flex;
  width: 100%;
  align-items: flex-start;
  align-items: center;
  gap: 28px;
  margin-top: 12rem;
  margin-bottom: 2rem;
  padding-left: 3rem;
}
.logo-box {
  width: 128px;
  height: 128px;
  border-radius: 34px;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-box img {
  width: 100%;
  height: 100%;
  display: block;
}
.main-text {
  flex: 1;
  margin-top: 8px;
}
.main-title {
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.main-desc {
  font-size: 1rem;
  color: #444;
  line-height: 1.4;
}
.download-section {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-bottom: 10rem;
  padding-left: 3rem;
  width: 100%;
}
.download-btn {
  border: none;
  width: 128px;
  cursor: pointer;
  transition: all 0.1s ease-in;
  opacity: 0.8;
}
.download-btn:hover {
  transform: scale(1.05);
  opacity: 1;
}
.divider {
  width: 1px;
  height: 20px;
  background: #e5e7eb;
  margin: 0 8px;
}
.features-row {
  display: flex;
  align-items: center;
  gap: 32px;
  align-items: center;
}
.feature {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #888;
  font-size: 0.97rem;
  font-weight: 500;
  white-space: nowrap;
}
.feature-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  opacity: 0.8;
  vertical-align: middle;
}
.faq-section {
  width: 100%;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.07);
  padding: 36px 32px 32px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.faq-title {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #222;
  margin-bottom: 24px;
  text-align: center;
}
.faq-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  /* border-bottom: 1px solid #f0f1f3; */
  padding: 10px 0;
}
.faq-q {
  font-weight: 600;
  font-size: 1rem;
  color: #222;
  margin-bottom: 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.15s;
  user-select: none;
}
.faq-q:hover {
  color: #3b82f6;
}
.faq-toggle {
  font-size: 1.1em;
  margin-left: 8px;
  transition: transform 0.2s;
  color: #bbb;
}
.faq-item.open .faq-toggle {
  transform: rotate(90deg);
  color: #3b82f6;
}
.faq-a {
  color: #444;
  font-size: 0.97rem;
  line-height: 1.5;
  margin-top: 6px;
  display: none;
  animation: fadeIn 0.3s;
}
.faq-a a {
  color: #3b82f6;
  text-decoration: none;
}
.faq-item.open .faq-a {
  display: block;
}
footer {
  width: 100%;
  text-align: center;
  padding: 24px 0;
  font-size: 0.8rem;
  color: #888;
  margin-top: 2rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}
footer a {
  color: #666;
  text-decoration: none;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
/* Dark mode styles */
body.dark-mode {
  background: #181a1b;
  color: #e5e7eb;
  height: max-content;
}
body.dark-mode .main-desc {
  color: #e5e7eb;
  opacity: 0.8;
}
body.dark-mode main {
  color: #e5e7eb;
}
body.dark-mode .faq-section {
  background: #232526;
}
body.dark-mode .faq-title,
body.dark-mode .faq-q {
  color: #e5e7eb;
}
body.dark-mode .faq-a {
  color: #bfc3c9;
}
body.dark-mode .divider {
  background: #33373a;
}
body.dark-mode .feature {
  color: #bfc3c9;
  opacity: 0.6;
}
body.dark-mode .faq-toggle {
  color: #888;
}
body.dark-mode .faq-item.open .faq-toggle {
  color: #60a5fa;
}
body.dark-mode .logo-box {
  background: #232526;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.18);
}
body.dark-mode .feature-icon {
  filter: invert(1);
}

/* Dark mode toggle button */
.darkmode-toggle-btn {
  position: fixed;
  top: 24px;
  right: 32px;
  z-index: 100;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: background 0.15s;
}
.darkmode-toggle-btn:hover {
  background: rgba(60, 60, 60, 0.08);
}
.darkmode-toggle-btn svg {
  width: 26px;
  height: 26px;
  display: block;
  color: #222;
  transition: color 0.2s;
}
body.dark-mode .darkmode-toggle-btn svg {
  color: #e5e7eb;
}
@media (max-width: 800px) {
  body {
    letter-spacing: normal;
  }
  .faq-section {
    padding: 1rem;
    width: 95%;
  }
  .main-section {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 0 1rem;
  }
  .main-text {
    text-align: center;
  }
  .features-row {
    margin: 0 4rem;
  }
  .feature {
    font-size: 12px;
  }
  .feature-icon {
    width: 14px;
    height: 14px;
  }
  .download-section {
    flex-direction: column;
    gap: 10px;
    padding-left: 0;
    margin-bottom: 8rem;
  }
  .darkmode-toggle-btn {
    top: 12px;
    right: 12px;
  }
}