/* ─────────────────────────────────────────────
   Meta Materials — Landing
   ───────────────────────────────────────────── */

:root {
  --bg-1: #0a0b10;
  --bg-2: #131524;
  --text: #f1f5f9;
  --text-dim: #64748b;
  --accent: #818cf8;
  --accent-glow: rgba(129, 140, 248, .4);
}

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

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  background: var(--bg-1);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* ── 背景 ── */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}

.bg-glow {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--accent-glow), transparent 60%);
  filter: blur(80px);
  opacity: .35;
  pointer-events: none;
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: .25; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: .45; transform: translate(-50%, -50%) scale(1.1); }
}

/* ── ヒーロー ── */
.hero {
  position: relative;
  z-index: 1;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
}

.brand {
  text-align: center;
  animation: fadeUp 1.2s cubic-bezier(.2,.7,.2,1) both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.logo {
  width: 96px;
  height: 96px;
  margin: 0 auto 32px;
  color: var(--accent);
  animation: spin 60s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.logo svg { width: 100%; height: 100%; }

.name {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 200;
  letter-spacing: .35em;
  background: linear-gradient(180deg, #fff 0%, var(--text-dim) 130%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
}

.tagline {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: .15em;
  color: var(--text-dim);
  text-transform: lowercase;
}

/* ── フッター ── */
.footer {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .2em;
  color: var(--text-dim);
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 1s ease-out 1s forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: .3; }
}

/* ── レスポンシブ ── */
@media (max-width: 480px) {
  .logo { width: 72px; height: 72px; margin-bottom: 24px; }
  .name { letter-spacing: .25em; }
}
