/* ================================================================
   Parallel Official Site — sections.css
   Hero / Features / Spec / Download / Footer
   ================================================================ */

/* ── ヒーローセクション ── */
#hero {
  position: relative;
  padding: 180px 0 110px 0;
  display: flex;
  justify-content: center;
  text-align: center;
}
.hero-bg-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 510px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}
.hero-container {
  width: 100%;
  max-width: 1200px;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-block;
  background: rgba(92,107,192,0.1);
  border: 1px solid rgba(92,107,192,0.2);
  color: var(--accent-bright);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}
.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}
.hero-lead {
  font-size: 1.2rem;
  color: var(--text-sub);
  max-width: 700px;
  margin: 0 auto 40px auto;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 30px;
  position: relative;
  z-index: 10;
}

/* ── 特徴セクション ── */
#features {
  padding: 100px 0;
  background: var(--bg-sidebar);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-light);
  padding: 28px 24px;
  border-radius: 10px;
  transition: transform 0.2s, border-color 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
  line-height: 1;
}
.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.feature-card p {
  color: var(--text-sub);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ── 技術仕様セクション ── */
#spec {
  padding: 100px 0;
}
.spec-wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}
.spec-info {
  flex: 1.4;
  min-width: 360px;
}
.spec-list {
  list-style: none;
  margin-top: 24px;
}
.spec-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 14px;
  color: var(--text-sub);
  line-height: 1.5;
}
.spec-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-bright);
  font-weight: bold;
}
.spec-list li strong {
  color: var(--text-main);
}
.spec-code {
  flex: 1;
  min-width: 360px;
  background: #050508;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 24px;
  overflow-x: auto;
}
.spec-code pre {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
}
.code-keyword { color: #ff79c6; }
.code-func    { color: #50fa7b; }
.code-str     { color: #f1fa8c; }

/* ── ダウンロードセクション ── */
#download {
  padding: 120px 0;
  background: radial-gradient(ellipse at bottom, var(--accent-glow) 0%, transparent 60%);
  text-align: center;
}
.download-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px;
}
#download h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}
#download p {
  color: var(--text-sub);
  margin-bottom: 40px;
}
.download-box {
  background: var(--bg-panel);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 40px;
  display: inline-block;
  width: 100%;
  max-width: 600px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.btn-download-main {
  background: var(--accent-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 18px 28px;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 4px 15px rgba(92,107,192,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: left;
}
.btn-download-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(92,107,192,0.5);
  color: #fff;
}
.btn-dl-image-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}
.btn-dl-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.dl-text-main {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}
.dl-text-sub {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  opacity: 0.75;
}
.download-meta {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── フッター ── */
#site-footer {
  background: #050508;
  border-top: 1px solid var(--border);
  padding: 80px 0 40px 0;
  color: var(--text-muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.footer-col h4 {
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 12px;
}
.footer-col a {
  color: var(--text-sub);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--accent-bright);
}

/* フッター専用ロゴスタイル */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-main);
}
.footer-logo-main {
  height: 24px; /* ここを小さく調整 */
  width: auto;
  display: block;
}

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 280px;
}
.copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 24px;
}

/* ── レスポンシブ ── */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr; }
  .feature-card h3 { white-space: normal; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}
@media (max-width: 768px) {
  .hero-title { font-size: 2.4rem; }
  .spec-wrapper { flex-direction: column; }
  .spec-info, .spec-code { min-width: unset; width: 100%; }
  .download-box { padding: 24px; }
  .dl-text-main { font-size: 1.05rem; white-space: normal; }
  .btn-download-main { padding: 14px 20px; gap: 12px; }
}
@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-desc {
    margin: 0 auto 24px auto;
  }
  .footer-logo {
    justify-content: center;
  }
}