/* ===== ヒーロー ===== */
.hero {
  max-width: 960px;
  margin: 0 auto;
  padding: 80px 32px 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
}
.hero-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  color: var(--text-tertiary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-title {
  font-size: 36px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.8px;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.hero-title em { font-style: normal; color: var(--text-tertiary); }
.hero-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 360px;
}
.hero-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  padding-bottom: 4px;
}
.hero-stat { text-align: right; }
.hero-stat-num {
  font-family: var(--mono);
  font-size: 40px;
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -2px;
}
.hero-stat-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-tertiary);
  letter-spacing: 0.5px;
  margin-top: 4px;
}
.hero-divider { width: 0.5px; height: 24px; background: var(--border); }

/* ===== フィルター ===== */
.filter-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 32px 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  border-bottom: 0.5px solid var(--border);
  margin-bottom: 48px;
}
.filter-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-tertiary);
  margin-right: 4px;
  letter-spacing: 0.5px;
}
.filter-btn {
  font-family: var(--mono);
  font-size: 11px;
  padding: 5px 14px;
  border-radius: 20px;
  border: 0.5px solid var(--border);
  color: var(--text-secondary);
  background: transparent;
  cursor: pointer;
  transition: all 0.15s;
  letter-spacing: 0.2px;
}
.filter-btn:hover { border-color: var(--border-hover); color: var(--text-primary); }
.filter-btn.active {
  background: var(--text-primary);
  color: var(--bg);
  border-color: var(--text-primary);
}

/* ===== アプリグリッド ===== */
.apps-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 32px 80px;
}
.apps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* ===== アプリカード ===== */
.app-card {
  background: var(--surface);
  padding: 28px;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 0.5px solid var(--border);
  border-radius: 16px;
}
.app-card:hover {
  background: #F8F7F4;
  border-color: var(--border-hover);
}
.app-card.coming-soon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  cursor: default;
  min-height: 200px;
}
.app-card.coming-soon:hover { background: var(--bg); border-color: var(--border); }

.app-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.app-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  margin-bottom: 16px;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.app-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.app-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.2px;
}
.app-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
  min-height: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}
.app-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  flex-shrink: 0;
}
.store-links { display: flex; gap: 6px; flex-wrap: wrap; }
.store-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-secondary);
  border: 0.5px solid var(--border);
  padding: 4px 9px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.15s;
  background: var(--bg);
}
.store-btn:hover { border-color: var(--border-hover); color: var(--text-primary); }
.store-btn svg { width: 10px; height: 10px; fill: currentColor; flex-shrink: 0; }
.app-arrow {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--text-tertiary);
  transition: transform 0.15s, color 0.15s;
}
.app-card:hover .app-arrow { transform: translate(2px, -2px); color: var(--text-secondary); }
.coming-text {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-tertiary);
  letter-spacing: 0.3px;
  text-align: center;
}
.coming-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-tertiary);
  margin-right: 8px;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

/* ===== カードアニメーション ===== */
.app-card { animation: fadeUp 0.4s ease forwards; opacity: 0; }
.app-card:nth-child(1) { animation-delay: 0.05s; }
.app-card:nth-child(2) { animation-delay: 0.10s; }
.app-card:nth-child(3) { animation-delay: 0.15s; }
.app-card:nth-child(4) { animation-delay: 0.20s; }
.app-card:nth-child(5) { animation-delay: 0.25s; }
.app-card:nth-child(6) { animation-delay: 0.30s; }
.app-card:nth-child(7) { animation-delay: 0.35s; }

/* ===== About ===== */
.about-section {
  border-top: 0.5px solid var(--border);
  max-width: 960px;
  margin: 0 auto;
  padding: 64px 32px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
}
.about-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-tertiary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding-top: 4px;
}
.about-text { font-size: 14px; color: var(--text-secondary); line-height: 1.9; }
.about-text p + p { margin-top: 16px; }

/* ===== モバイル ===== */
@media (max-width: 640px) {
  .hero { grid-template-columns: 1fr; gap: 32px; padding: 48px 20px 40px; }
  .hero-right { align-items: flex-start; flex-direction: row; gap: 24px; }
  .hero-divider { width: 24px; height: 0.5px; }
  .hero-stat-num { font-size: 28px; }
  .hero-title { font-size: 26px; }
  .filter-section, .apps-section { padding-left: 20px; padding-right: 20px; }
  .apps-grid { grid-template-columns: 1fr; gap: 12px; }
  .app-card { padding: 24px; }
  .app-desc { -webkit-line-clamp: 3; }
  .about-section { grid-template-columns: 1fr; gap: 16px; padding: 40px 20px; }
}
