@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap');

/* Base Settings */
body {
  font-family: 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #fcfcfc;
  color: #0E2447;
  line-height: 1.7;
}
img {
  max-width: 100%;
  display: block;
}
section {
  padding: 0 1rem;
}
h1, h2, h3 {
  margin: 0.5em 0 0.3em 0;
  font-weight: 700;
  color: #0E2447;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, #406A76 0%, #0E2447 100%);
  text-align: center;
  padding-top: 3rem;
  padding-bottom: 3rem;
  padding-left: 0;
  padding-right: 0;
  margin-top: 0;
  margin-bottom: 3.5rem;
  box-shadow: 0 2px 8px rgba(14,36,71,0.08);
}
.hero-inner {
  max-width: 400px;
  margin: 0 auto;
}
.app-icon {
  width: 160px;
  height: 160px;
  border-radius: 24px;
  box-shadow: 0 2px 8px rgba(14,36,71,0.10);
  margin: 0 auto 1.8rem auto;
  display: block;
}
.hero h1 {
  font-size: 2.2rem;
  color: #E6E6E6;
  letter-spacing: 0.1em;
}
.catch {
  font-size: 1.1rem;
  color: #E6E6E6;
  margin-bottom: 1.5rem;
}
.store-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}
.store-btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border-radius: 2rem;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  color: #E6E6E6;
  box-shadow: 0 2px 8px rgba(14,36,71,0.10);
  transition: background 0.2s, transform 0.2s;
  background: #0E2447; /* default fallback */
}
.store-btn.appstore,
.store-btn.googleplay {
  background: #406A76;
  color: #fff;
}
.store-btn:hover {
  transform: translateY(-2px) scale(1.04);
  opacity: 0.92;
}

/* Features */
.features {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px rgba(14,36,71,0.06);
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem 1rem;
}
.features h2 {
  text-align: center;
  font-size: 1.4rem;
}
.features-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.feature {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: #fff;
  border-radius: 1rem;
  padding: 1.2rem 1rem;
  box-shadow: 0 1.5px 6px rgba(14,36,71,0.07);
  border: 1px solid rgba(64,106,118,0.07);
  transition: box-shadow 0.18s, transform 0.18s, border-color 0.18s;
}
.feature:hover {
  box-shadow: 0 4px 16px rgba(14,36,71,0.11);
  transform: translateY(-2px) scale(1.015);
  border-color: rgba(64,106,118,0.22);
}
.feature-icon {
  font-size: 2.2rem;
  background: #E6E6E6;
  border-radius: 50%;
  width: 3.2rem;
  height: 3.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(14,36,71,0.08);
  color: #406A76;
}
.feature h3 {
  font-size: 1.1rem;
  color: #406A76;
  margin-bottom: 0.2em;
}
.feature p {
  font-size: 0.98rem;
  color: #0E2447;
}

/* Screenshots */
.screenshots {
  text-align: center;
  margin: 2.5rem 0 1.5rem 0;
}
.screenshots h2 {
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}
.screenshots-list {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.screenshots-list img {
  width: 120px;
  height: 240px;
  object-fit: cover;
  border-radius: 1.2rem;
  box-shadow: 0 2px 8px rgba(14,36,71,0.10);
  background: #E6E6E6;
}

/* CTA */
.cta {
  position: relative;
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px rgba(14,36,71,0.06);
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  padding: 3rem 1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  z-index: 1;
  border: none;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1.2rem;
  padding: 2px;
  background: linear-gradient(180deg, #406A76 0%, #0E2447 100%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}
.cta h2 {
  color: #0E2447;
  margin-bottom: 1.2rem;
}
.cta .store-btn {
  background: #406A76;
  color: #fff;
  border: none;
  box-shadow: 0 2px 8px rgba(14,36,71,0.10);
}
.cta .store-btn:hover {
  background: #0E2447;
  color: #fff;
}

/* Footer */
footer {
  text-align: center;
  color: #406A76;
  font-size: 0.95rem;
  padding: 2rem 0 1.2rem 0;
}

footer a {
  color: #406A76;
  text-decoration: underline;
  transition: color 0.2s;
}
footer a:hover {
  color: #0E2447;
}

/* Responsive */
@media (min-width: 600px) {
  .features-list {
    flex-direction: row;
    justify-content: center;
  }
  .feature {
    flex-direction: column;
    align-items: center;
    min-width: 160px;
    flex: 1;
  }
  .screenshots-list img {
    width: 180px;
    height: 360px;
  }
}

.cool-font {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: 2.5rem;
  color: #E6E6E6;
  text-shadow: 0 2px 8px rgba(14,36,71,0.10);
}

.app-icon-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
}
.app-icon-title .app-icon {
  margin: 0;
}

h2 {
  color: #0E2447;
}

.features.open-source {
  margin-top: 4rem;
}

.contact {
  background: #fff;
  border-radius: 1.2rem;
  max-width: 600px;
  margin: 3.5rem auto 2rem auto;
  padding: 2.2rem 1.5rem 2rem 1.5rem;
  box-shadow: 0 2px 12px rgba(14,36,71,0.06);
  text-align: center;
}
.contact h2 {
  margin-bottom: 1rem;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.2rem;
}
.contact-form input,
.contact-form textarea {
  padding: 0.9rem 1rem;
  border: 1.5px solid #406A76;
  border-radius: 0.7rem;
  font-size: 1rem;
  font-family: inherit;
  background: #fcfcfc;
  color: #0E2447;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #0E2447;
  box-shadow: 0 0 0 2px #406A7622;
}
.contact-form button {
  background: #0E2447;
  color: #fff;
  font-weight: bold;
  font-size: 1.1rem;
  border: none;
  border-radius: 2rem;
  padding: 0.9rem 1.5rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 8px rgba(14,36,71,0.10);
  max-width: 180px;
  width: 100%;
  margin: 0 auto;
}
.contact-form button:hover {
  background: #406A76;
  color: #fff;
  transform: scale(1.07);
  box-shadow: 0 6px 24px rgba(14,36,71,0.18);
}

.features + .features {
  margin-top: 4rem;
}

.faq {
  background: #fff;
  border-radius: 1.2rem;
  max-width: 700px;
  margin: 3.5rem auto 2.5rem auto;
  padding: 2.2rem 1.5rem 2rem 1.5rem;
  box-shadow: 0 2px 12px rgba(14,36,71,0.06);
}
.faq h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.faq-item h3 {
  font-size: 1.08rem;
  color: #406A76;
  margin-bottom: 0.4em;
}
.faq-item p {
  color: #0E2447;
  font-size: 0.98rem;
  margin: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.25s, margin-top 0.25s;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  font-size: 1.08rem;
  color: #406A76;
  margin-bottom: 0.4em;
  transition: background 0.18s;
  padding: 0.3em 0.5em;
  border-radius: 0.4em;
}
.faq-question:hover, .faq-question:focus {
  background: #f0f4f7;
}
.faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  margin-left: 1em;
  color: #0E2447;
  transition: color 0.18s;
  line-height: 1;
} 