:root {
  --brand: #A855F7;
  --brand-light: #F3E8FF;
  --brand-dark: #9333EA;
  --slate-800: #1E293B;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'Microsoft YaHei', sans-serif;
  color: var(--slate-800);
  background: linear-gradient(180deg, #FAF5FF 0%, #FFFFFF 40%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.lang-switch {
  position: fixed; top: 16px; right: 16px; z-index: 100;
  display: flex; flex-wrap: wrap; justify-content: flex-end; max-width: calc(100vw - 32px);
  gap: 4px;
  background: white; border-radius: 100px;
  padding: 4px; box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.lang-switch a {
  border: none; background: transparent;
  padding: 6px 14px; border-radius: 100px;
  font-size: 13px; font-weight: 600; cursor: pointer;
  color: var(--slate-500); text-decoration: none;
  transition: all .15s; display: inline-block;
}
.lang-switch a:hover { color: var(--brand-dark); }
.lang-switch a.active { background: var(--brand); color: white; }

.container { max-width: 800px; margin: 0 auto; padding: 0 24px; }

.hero { text-align: center; padding: 80px 0 40px; }
.hero .logo {
  width: 80px; height: 80px; margin: 0 auto 20px;
  background: var(--brand-dark); border-radius: 24px;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.hero .logo img { width: 100%; height: 100%; }
.hero h1 { font-size: 36px; font-weight: 800; letter-spacing: -.5px; margin-bottom: 8px; }
.hero .tagline { font-size: 18px; color: var(--slate-500); margin-bottom: 8px; }
.hero .slogan {
  display: inline-block; background: var(--brand-light); color: var(--brand-dark);
  padding: 6px 18px; border-radius: 100px; font-size: 14px; font-weight: 600;
}
.appstore-btn {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 28px;
  background: var(--slate-800); color: white;
  padding: 12px 32px; border-radius: 100px;
  text-decoration: none; font-size: 16px; font-weight: 600;
  transition: all .15s;
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
}
.appstore-btn:hover { background: black; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.appstore-btn svg { width: 22px; height: 22px; }

.features { padding: 16px 0 40px; }
.features h2 { text-align: center; font-size: 22px; font-weight: 700; margin-bottom: 32px; color: var(--slate-800); }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.feature-card {
  background: white; border-radius: 16px; padding: 24px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  border: 1px solid var(--slate-200);
  transition: all .2s;
}
.feature-card:hover { border-color: var(--brand); box-shadow: 0 4px 12px rgba(168,85,247,.08); }
.feature-card .icon { font-size: 28px; margin-bottom: 12px; }
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.feature-card p { font-size: 14px; color: var(--slate-500); line-height: 1.7; word-break: keep-all; overflow-wrap: break-word; }

footer {
  text-align: center; padding: 40px 0;
  border-top: 1px solid var(--slate-200); margin-top: 20px;
}
footer .links { margin-bottom: 12px; }
footer .links a { color: var(--slate-500); text-decoration: none; font-size: 14px; margin: 0 12px; }
footer .links a:hover { color: var(--brand-dark); }
footer .copyright { font-size: 13px; color: var(--slate-400); }
footer .icp { margin-top: 6px; }
footer .icp a { font-size: 12px; color: var(--slate-400); text-decoration: none; }
footer .icp a:hover { color: var(--slate-500); }

@media (max-width: 640px) {
  .hero { padding: 48px 0 28px; }
  .hero h1 { font-size: 28px; }
  .hero .tagline { font-size: 16px; }
  .feature-grid { grid-template-columns: 1fr; }
}
