/* ライブハウスナビ LP — livehouse.appsnavi.net
   テーマトークンはアプリ本体 (src/app/globals.css) と同一値。
   レイアウト値は元ネタ LandingPage.tsx の Tailwind ユーティリティを移植。 */

:root {
  --background: #0f0f0f;
  --foreground: #f0f0f0;
  --card: #1a1a1a;
  --card-foreground: #f0f0f0;
  --primary: #e8383d;
  --primary-foreground: #ffffff;
  --secondary: #2a2a2a;
  --secondary-foreground: #a0a0a0;
  --muted: #2a2a2a;
  --muted-foreground: #707070;
  --accent: #ff6b35;
  --accent-foreground: #ffffff;
  --border: #2a2a2a;
  --radius: 0.5rem;
}

/* ===== ベース ===== */
* { box-sizing: border-box; }

html { color-scheme: dark; }

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: "Noto Sans JP", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.5rem 1rem;
  border-radius: 0 0 0.5rem 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

.sm-br { display: none; }
@media (min-width: 640px) {
  .sm-br { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* ===== ボタン ===== */
.btn {
  display: inline-block;
  text-align: center;
  transition: background-color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease, transform 60ms ease;
}
.btn:active { transform: scale(0.98); }

.btn-lg {
  padding: 0.875rem 2rem;
  border-radius: 0.75rem;
  font-size: 1.125rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 700;
}
.btn-primary:hover { background: color-mix(in srgb, var(--primary) 90%, transparent); }

.btn-ghost {
  border: 1px solid var(--border);
  font-weight: 500;
}
.btn-ghost:hover { border-color: color-mix(in srgb, var(--primary) 50%, transparent); }

.btn-inverse {
  background: var(--background);
  color: var(--foreground);
  font-weight: 700;
}
.btn-inverse:hover { opacity: 0.9; }

/* ===== ヘッダー ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: color-mix(in srgb, var(--background) 80%, transparent);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.125rem;
  white-space: nowrap;
}

.header-login, .header-cta { white-space: nowrap; }

/* 狭幅 (iPhone SE 等) でヘッダーが折り返さないよう詰める */
@media (max-width: 400px) {
  .brand { font-size: 1rem; }
  .header-nav { gap: 0.25rem; }
  .header-login { padding: 0.375rem 0.25rem; }
  .header-cta { padding: 0.375rem 0.75rem; }
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-login {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.header-login:hover { color: var(--foreground); }

.header-cta {
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.5rem;
  background: var(--primary);
  color: var(--primary-foreground);
  transition: background-color 0.15s ease;
}
.header-cta:hover { background: color-mix(in srgb, var(--primary) 90%, transparent); }

/* ===== ヒーロー ===== */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.7;
  background-image:
    radial-gradient(circle at 75% 10%, var(--primary), transparent 45%),
    radial-gradient(circle at 5% 85%, color-mix(in oklab, var(--primary) 35%, transparent), transparent 40%);
}

.hero-inner {
  max-width: 64rem;
  margin: 0 auto;
  padding: 5rem 1rem;
  text-align: center;
}

.hero-badge {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.hero-sub {
  margin: 1.5rem auto 0;
  font-size: 1rem;
  color: var(--muted-foreground);
  max-width: 42rem;
}

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.hero-actions .btn { width: 100%; }

.hero-note {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .hero-inner { padding: 7rem 1rem; }
  .hero h1 { font-size: 3.75rem; }
  .hero-sub { font-size: 1.125rem; }
  .hero-actions { flex-direction: row; }
  .hero-actions .btn { width: auto; }
}

/* ===== セクション共通 ===== */
.section {
  margin: 0 auto;
  padding: 4rem 1rem;
}
.section-wide { max-width: 72rem; }
.section-mid { max-width: 64rem; }
.section-narrow { max-width: 48rem; }

.section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.75rem;
}
.section h2.mb-lg { margin-bottom: 2.5rem; }
.section h2.mb-xl { margin-bottom: 3rem; }

.section-sub {
  text-align: center;
  color: var(--muted-foreground);
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .section h2 { font-size: 1.875rem; }
}

/* ===== グリッド・カード ===== */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.5rem;
}

.card-hover { transition: border-color 0.15s ease; }
.card-hover:hover { border-color: color-mix(in srgb, var(--primary) 40%, transparent); }

.card-center { text-align: center; }

.card-icon {
  font-size: 1.875rem;
  line-height: 2.25rem;
  margin-bottom: 0.75rem;
}

.card h3 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.card-title-lg { font-size: 1.125rem; }

.card-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.625;
}

.card-desc-xs {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  line-height: 1.625;
}

.card-desc-sm {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ===== ブッキング・スポットライト ===== */
.spotlight {
  border-radius: 1.5rem;
  border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
  background: color-mix(in srgb, var(--primary) 5%, transparent);
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 640px) {
  .spotlight { padding: 3rem; }
}
@media (min-width: 1024px) {
  .spotlight { grid-template-columns: 1fr 1fr; }
}

.spotlight-kicker {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.spotlight-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .spotlight-title { font-size: 1.875rem; }
}

.spotlight-body {
  color: var(--muted-foreground);
  line-height: 1.625;
  margin-bottom: 1.25rem;
}
.spotlight-body strong { color: var(--foreground); }

.spotlight-list {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.spotlight-list li + li { margin-top: 0.5rem; }

/* 検索結果モック */
.mock {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.25rem;
}

.mock-filter {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.mock-filter-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.mock-chip {
  font-size: 0.75rem;
  border-radius: 9999px;
  background: color-mix(in srgb, var(--primary) 15%, transparent);
  color: var(--primary);
  padding: 0.25rem 0.625rem;
  font-weight: 500;
}

.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--background);
  padding: 0.625rem 0.75rem;
}
.mock-row + .mock-row { margin-top: 0.5rem; }

.mock-band { min-width: 0; }

.mock-band-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-band-genre {
  font-size: 11px;
  color: var(--muted-foreground);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-draw {
  font-size: 11px;
  color: var(--muted-foreground);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.mock-draw-n {
  color: var(--foreground);
  font-weight: 600;
}

.mock-caption {
  margin-top: 0.75rem;
  font-size: 11px;
  color: var(--muted-foreground);
  text-align: center;
}

/* ===== 料金 ===== */
.pricing {
  border-radius: 1.5rem;
  border: 1px solid color-mix(in srgb, var(--primary) 40%, transparent);
  background: color-mix(in srgb, var(--primary) 5%, transparent);
  padding: 2rem;
  text-align: center;
}

.pricing-label {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 500;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 700;
  margin-top: 0.5rem;
  line-height: 1;
}

.pricing-unit {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  font-weight: 400;
}

.pricing-note {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.pricing-list {
  margin: 1.5rem auto 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-align: left;
  max-width: 20rem;
}
.pricing-list li + li { margin-top: 0.375rem; }

.pricing-cta { margin-top: 2rem; }

/* ===== 導入ステップ ===== */
.step-n {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
}

/* ===== FAQ ===== */
.faq-item {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.25rem;
}
.faq-item + .faq-item { margin-top: 0.75rem; }

.faq-q {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.faq-a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.625;
}

/* ===== 最終CTA ===== */
.final-wrap {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1rem 5rem;
}

.final {
  border-radius: 1.5rem;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 2.5rem;
  text-align: center;
}

@media (min-width: 640px) {
  .final { padding: 3.5rem; }
}

.final h2 {
  font-size: 1.5rem;
  font-weight: 700;
}

@media (min-width: 640px) {
  .final h2 { font-size: 1.875rem; }
}

.final-sub {
  margin-top: 0.75rem;
  opacity: 0.9;
}

.final .btn-inverse { margin-top: 2rem; }

.final-login {
  margin-top: 1rem;
  font-size: 0.875rem;
  opacity: 0.8;
}
.final-login a { text-decoration: underline; }

/* ===== フッター ===== */
.site-footer { border-top: 1px solid var(--border); }

.footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .footer-inner { flex-direction: row; }
}

.footer-links {
  display: flex;
  gap: 1rem;
}
.footer-links a:hover { color: var(--foreground); }
