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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  background-color: #eef5ff;
  color: #0d2040;
  line-height: 1.7;
  font-size: 16px;
}

/* ===========================
   Header
=========================== */
header {
  background: linear-gradient(135deg, #1e6edb 0%, #0ea5e9 100%);
  border-bottom: none;
  height: 64px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-title {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  -webkit-text-fill-color: #fff;
  background: none;
}

/* ===========================
   Language Toggle
=========================== */
.lang-toggle {
  display: flex;
  gap: 8px;
}

.lang-btn {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1;
  transition: background 0.2s, color 0.2s;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.lang-btn.active {
  background: #fff;
  color: #1e6edb;
  border-color: #fff;
}

/* ===========================
   Hero
=========================== */
.hero {
  text-align: center;
  padding: 80px 24px 72px;
  background: linear-gradient(180deg, #d0e8ff 0%, #eef5ff 100%);
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  background: linear-gradient(90deg, #1e6edb, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.hero-catch {
  font-size: 1.2rem;
  color: #2a6ab0;
  margin-bottom: 40px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* ===========================
   Store Buttons
=========================== */
.store-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 32px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
  letter-spacing: 0.02em;
}

.store-btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.store-btn.appstore {
  background: linear-gradient(135deg, #1e6edb, #0ea5e9);
  color: #fff;
}

.store-btn.googleplay {
  background: #fff;
  color: #1e6edb;
  border: 2px solid #b8d4f0;
}

/* ===========================
   Sections
=========================== */
.section {
  max-width: 900px;
  margin: 0 auto 64px;
  padding: 0 24px;
}

.section h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1e6edb;
  text-align: center;
  margin-bottom: 36px;
}

/* ===========================
   Features
=========================== */
.features {
  margin-top: 64px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-card {
  background: #fff;
  border: 1px solid #b8d4f0;
  border-radius: 16px;
  padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  border-color: #1e6edb;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(30, 110, 219, 0.12);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a4a8a;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.9rem;
  color: #5a7a9a;
  line-height: 1.6;
}

/* ===========================
   Screenshots
=========================== */
.screenshots-section {
  max-width: 100%;
  padding: 0 24px;
  margin-bottom: 64px;
}

.screenshots-section h2 {
  max-width: 900px;
  margin: 0 auto 36px;
  padding: 0 24px;
  font-size: 1.4rem;
  font-weight: 700;
  color: #1e6edb;
  text-align: center;
}

.screenshots-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  justify-content: center;
}

.screenshots-scroll::-webkit-scrollbar {
  height: 6px;
}

.screenshots-scroll::-webkit-scrollbar-track {
  background: #d0e8ff;
  border-radius: 4px;
}

.screenshots-scroll::-webkit-scrollbar-thumb {
  background: #1e6edb;
  border-radius: 4px;
}

.screenshot-img {
  flex-shrink: 0;
  height: 480px;
  width: auto;
  border-radius: 20px;
  border: 1px solid #b8d4f0;
  box-shadow: 0 8px 24px rgba(30, 110, 219, 0.12);
  scroll-snap-align: start;
  transition: transform 0.2s, box-shadow 0.2s;
}

.screenshot-img:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(30, 110, 219, 0.2);
}

@media (max-width: 600px) {
  .screenshot-img {
    height: 360px;
  }
}

/* ===========================
   CTA Section
=========================== */
.cta-section {
  text-align: center;
  background: linear-gradient(135deg, #d0e8ff, #bfe0ff);
  border: 1px solid #90c4f0;
  border-radius: 20px;
  padding: 56px 32px;
}

.cta-section p {
  color: #2a5a8a;
  margin-bottom: 28px;
  font-size: 1rem;
}

/* ===========================
   Footer
=========================== */
footer {
  border-top: 1px solid #c8dff5;
  padding: 28px 24px;
  background-color: #f5faff;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  color: #7a9ab8;
  font-size: 0.82rem;
}

.footer-link {
  color: #4a7aaa;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: #1e6edb;
}

/* ===========================
   Responsive
=========================== */
@media (max-width: 600px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-catch {
    font-size: 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .cta-section {
    padding: 36px 20px;
  }
}
