/* =========================================================
   NEO TOKYO 204X - Cyberpunk Landing Page Styles
   ========================================================= */

/* ---------------------------------------------------------
   カスタムプロパティ
   --------------------------------------------------------- */
:root {
  /* ベースカラー */
  --color-deep-black: #0A0A0A;
  --color-midnight-blue: #001F3F;
  --color-dark-purple: #1A0A2A;

  /* メインアクセントカラー */
  --color-neon-blue: #00F0FF;
  --color-cyber-pink: #FF00A0;
  --color-neon-green: #39FF14;
  --color-bright-yellow: #FFFF00;

  /* サブアクセントカラー */
  --color-silver-gray: #808080;
  --color-white: #FFFFFF;
  --color-off-white: #E0E0E0;
  --color-panel-bg: rgba(10, 10, 10, 0.85);

  /* フォント */
  --font-heading: 'Orbitron', 'Rajdhani', sans-serif;
  --font-subheading: 'Rajdhani', sans-serif;
  --font-mono: 'Share Tech Mono', 'Noto Sans JP', monospace;
  --font-body: 'Noto Sans JP', sans-serif;

  /* サイズ */
  --header-height: 72px;
  --max-width: 1200px;
  --section-padding: 120px;

  /* アニメーション */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------------------------------------------------------
   リセット・ベース
   --------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  background-color: var(--color-deep-black);
  color: var(--color-off-white);
  line-height: 1.8;
  overflow-x: hidden;
  min-height: 100vh;
}

img, svg, video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, p {
  margin: 0;
}

/* フォーカス可視性 */
:focus-visible {
  outline: 2px solid var(--color-neon-blue);
  outline-offset: 3px;
}

/* 選択色 */
::selection {
  background: var(--color-cyber-pink);
  color: var(--color-white);
}

/* ---------------------------------------------------------
   レイアウトユーティリティ
   --------------------------------------------------------- */
.container {
  width: min(92%, var(--max-width));
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

.section {
  position: relative;
  padding-block: var(--section-padding);
  overflow: hidden;
}

.section__header {
  margin-bottom: 64px;
}

.section__header--center {
  text-align: center;
}

.section__code {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--color-neon-green);
  letter-spacing: 0.2em;
  margin-bottom: 16px;
  text-shadow: 0 0 8px rgba(57, 255, 20, 0.5);
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--color-white);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section__subtitle {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--color-silver-gray);
  letter-spacing: 0.15em;
}

.text-accent {
  color: var(--color-neon-blue);
  font-weight: 700;
}

/* ---------------------------------------------------------
   ローディングアニメーション
   --------------------------------------------------------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-deep-black);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.loader__line {
  position: absolute;
  background: rgba(0, 240, 255, 0.1);
}

.loader__line--h {
  width: 100%;
  height: 1px;
  top: 50%;
  animation: scanH 2s linear infinite;
}

.loader__line--v {
  width: 1px;
  height: 100%;
  left: 50%;
  animation: scanV 2s linear infinite;
}

@keyframes scanH {
  0% { transform: translateY(-50vh); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(50vh); opacity: 0; }
}

@keyframes scanV {
  0% { transform: translateX(-50vw); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateX(50vw); opacity: 0; }
}

.loader__content {
  text-align: center;
  z-index: 2;
}

.loader__code {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--color-neon-blue);
  letter-spacing: 0.15em;
  margin-bottom: 24px;
  animation: textFlicker 1.5s infinite alternate;
}

@keyframes textFlicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; text-shadow: 0 0 10px var(--color-neon-blue); }
  20%, 24%, 55% { opacity: 0.7; text-shadow: none; }
}

.loader__bar {
  width: 280px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 auto 16px;
  position: relative;
  overflow: hidden;
}

.loader__bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-neon-blue), var(--color-cyber-pink));
  box-shadow: 0 0 12px var(--color-neon-blue);
  transition: width 0.1s linear;
}

.loader__percent {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  color: var(--color-white);
}

.loader__scan {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(0, 240, 255, 0.3);
  box-shadow: 0 0 20px var(--color-neon-blue);
  animation: scanDown 1.5s ease-in-out infinite;
}

@keyframes scanDown {
  0% { top: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* ---------------------------------------------------------
   グローバル背景エフェクト
   --------------------------------------------------------- */
.particle-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  animation: noiseMove 0.5s steps(5) infinite;
}

@keyframes noiseMove {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-2%, 2%); }
  40% { transform: translate(2%, -2%); }
  60% { transform: translate(-1%, 1%); }
  80% { transform: translate(1%, -1%); }
  100% { transform: translate(0, 0); }
}

/* ---------------------------------------------------------
   ヘッダー・ナビゲーション
   --------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 240, 255, 0.1);
  transition: background var(--transition-medium), border-color var(--transition-medium);
}

.site-header--scrolled {
  background: rgba(10, 10, 10, 0.95);
  border-color: rgba(0, 240, 255, 0.3);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-white);
  letter-spacing: 0.08em;
  transition: text-shadow var(--transition-fast);
}

.logo__icon {
  color: var(--color-neon-blue);
  font-size: 1.5rem;
  text-shadow: 0 0 12px var(--color-neon-blue);
}

.logo__accent {
  color: var(--color-cyber-pink);
}

.logo:hover {
  text-shadow: 0 0 16px var(--color-neon-blue);
}

.main-nav {
  display: flex;
}

.nav-list {
  display: flex;
  gap: 8px;
}

.nav-link {
  display: inline-block;
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--color-off-white);
  letter-spacing: 0.1em;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  padding: 8px 16px;
  color: var(--color-cyber-pink);
  opacity: 0;
  clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
  transform: translate(-2px, -1px);
  pointer-events: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  width: 0;
  height: 1px;
  background: var(--color-neon-blue);
  box-shadow: 0 0 8px var(--color-neon-blue);
  transition: width var(--transition-fast);
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--color-neon-blue);
}

.nav-link:hover::before,
.nav-link[aria-current="page"]::before {
  animation: glitchNav 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  width: calc(100% - 32px);
}

@keyframes glitchNav {
  0% { opacity: 0.8; transform: translate(-2px, -1px); }
  20% { opacity: 0; transform: translate(2px, 1px); }
  40% { opacity: 0.8; transform: translate(-1px, 1px); }
  60% { opacity: 0; transform: translate(1px, -1px); }
  80% { opacity: 0.8; transform: translate(2px, 0); }
  100% { opacity: 0; transform: translate(-2px, 0); }
}

.nav-link--cta {
  border: 1px solid rgba(0, 240, 255, 0.4);
  color: var(--color-neon-blue);
}

.nav-link--cta:hover {
  background: rgba(0, 240, 255, 0.1);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.3);
}

.header__controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sound-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-silver-gray);
  transition: all var(--transition-fast);
}

.sound-toggle:hover {
  border-color: var(--color-neon-blue);
  color: var(--color-neon-blue);
}

.sound-toggle[aria-pressed="true"] {
  border-color: var(--color-neon-green);
  color: var(--color-neon-green);
  box-shadow: 0 0 12px rgba(57, 255, 20, 0.3);
}

.sound-toggle__icon--on {
  display: none;
}

.sound-toggle[aria-pressed="true"] .sound-toggle__icon--on {
  display: inline;
}

.sound-toggle[aria-pressed="true"] .sound-toggle__icon--off {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  padding: 8px;
}

.hamburger__line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.hamburger[aria-expanded="true"] .hamburger__line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger[aria-expanded="true"] .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] .hamburger__line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------------------------------------------------------
   グリッチテキスト
   --------------------------------------------------------- */
.glitch-text {
  position: relative;
  display: inline-block;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}

.glitch-text::before {
  color: var(--color-cyber-pink);
  z-index: -1;
}

.glitch-text::after {
  color: var(--color-neon-blue);
  z-index: -2;
}

.glitch-text--accent {
  color: var(--color-neon-blue);
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.6);
}

.glitch-text:hover::before,
.glitch-text:hover::after,
.glitch-text.is-glitching::before,
.glitch-text.is-glitching::after {
  opacity: 0.8;
  animation: glitchText 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
}

.glitch-text:hover::after,
.glitch-text.is-glitching::after {
  animation-name: glitchText2;
}

@keyframes glitchText {
  0% { transform: translate(0); }
  20% { transform: translate(-3px, 2px); }
  40% { transform: translate(3px, -2px); }
  60% { transform: translate(-2px, 1px); }
  80% { transform: translate(2px, -1px); }
  100% { transform: translate(0); }
}

@keyframes glitchText2 {
  0% { transform: translate(0); }
  20% { transform: translate(3px, -2px); }
  40% { transform: translate(-3px, 2px); }
  60% { transform: translate(2px, -1px); }
  80% { transform: translate(-2px, 1px); }
  100% { transform: translate(0); }
}

/* ---------------------------------------------------------
   ボタン
   --------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid transparent;
  overflow: hidden;
  transition: all var(--transition-fast);
  min-width: 180px;
}

.btn--primary {
  background: transparent;
  border-color: var(--color-neon-blue);
  color: var(--color-neon-blue);
  box-shadow: inset 0 0 16px rgba(0, 240, 255, 0.15), 0 0 16px rgba(0, 240, 255, 0.15);
}

.btn--primary:hover {
  background: rgba(0, 240, 255, 0.1);
  box-shadow: inset 0 0 24px rgba(0, 240, 255, 0.3), 0 0 32px rgba(0, 240, 255, 0.4);
  text-shadow: 0 0 8px var(--color-neon-blue);
}

.btn--secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--color-white);
}

.btn--secondary:hover {
  border-color: var(--color-cyber-pink);
  color: var(--color-cyber-pink);
  box-shadow: inset 0 0 16px rgba(255, 0, 160, 0.15), 0 0 16px rgba(255, 0, 160, 0.15);
}

.btn--large {
  padding: 18px 48px;
  font-size: 1.1rem;
}

.btn--glitch::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn--glitch:hover::before {
  left: 100%;
}

.btn__text {
  position: relative;
  z-index: 2;
}

/* ---------------------------------------------------------
   ヒーローセクション
   --------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: calc(var(--header-height) + 40px) 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(0, 31, 63, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(26, 10, 42, 0.6) 0%, transparent 50%),
    var(--color-deep-black);
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(800px) rotateX(60deg) translateY(-120px) scale(1.5);
  transform-origin: top center;
  animation: gridMove 20s linear infinite;
  opacity: 0.4;
}

@keyframes gridMove {
  0% { background-position: 0 0; }
  100% { background-position: 0 60px; }
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: glowPulse 6s ease-in-out infinite alternate;
}

.hero__glow--blue {
  width: 500px;
  height: 500px;
  background: var(--color-neon-blue);
  top: 10%;
  right: -10%;
}

.hero__glow--pink {
  width: 400px;
  height: 400px;
  background: var(--color-cyber-pink);
  bottom: 10%;
  left: -5%;
  animation-delay: -3s;
}

@keyframes glowPulse {
  0% { transform: scale(1); opacity: 0.3; }
  100% { transform: scale(1.2); opacity: 0.5; }
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--color-neon-green);
}

.badge-line {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--color-neon-green);
  box-shadow: 0 0 8px var(--color-neon-green);
  animation: badgePulse 1.5s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero__lead {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-silver-gray);
  max-width: 640px;
  margin-bottom: 40px;
  line-height: 1.9;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 56px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-item__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-silver-gray);
  letter-spacing: 0.15em;
}

.meta-item__value {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--color-white);
  letter-spacing: 0.05em;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.scroll-text {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-silver-gray);
  letter-spacing: 0.2em;
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--color-neon-blue), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------------------------------------------------------
   プロローグセクション
   --------------------------------------------------------- */
.section--prologue {
  background: linear-gradient(180deg, var(--color-deep-black) 0%, rgba(0, 31, 63, 0.2) 100%);
}

.prologue__body {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
}

.prologue__text {
  font-size: 1.1rem;
  color: var(--color-off-white);
  margin-bottom: 24px;
}

.prologue__visual {
  position: relative;
}

.data-block {
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.2);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.data-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--color-neon-blue), transparent);
}

.data-block__header {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--color-neon-blue);
  margin-bottom: 24px;
}

.data-block__status {
  color: var(--color-neon-green);
  animation: statusBlink 1.5s ease-in-out infinite;
}

@keyframes statusBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.data-block__bars {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.data-bar {
  position: relative;
  height: 32px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.data-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: var(--value);
  background: linear-gradient(90deg, var(--color-neon-blue), var(--color-cyber-pink));
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.4);
  animation: barGrow 1.5s ease-out forwards;
  transform-origin: left;
}

@keyframes barGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.data-bar__label {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-white);
  z-index: 2;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
}

/* ---------------------------------------------------------
   ソリューションセクション
   --------------------------------------------------------- */
.section--solution {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 0, 160, 0.1) 0%, transparent 50%),
    var(--color-deep-black);
}

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.feature-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px 32px;
  transition: all var(--transition-medium);
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-neon-blue), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-medium);
}

.feature-card:hover {
  background: rgba(0, 240, 255, 0.05);
  border-color: rgba(0, 240, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card__icon {
  color: var(--color-neon-blue);
  margin-bottom: 24px;
  filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.5));
  transition: transform var(--transition-fast);
}

.feature-card:hover .feature-card__icon {
  transform: scale(1.1) rotate(3deg);
}

.feature-card__title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--color-white);
  margin-bottom: 4px;
}

.feature-card__code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-cyber-pink);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.feature-card__desc {
  font-size: 0.95rem;
  color: var(--color-silver-gray);
  line-height: 1.7;
}

/* ---------------------------------------------------------
   テクノロジーセクション
   --------------------------------------------------------- */
.section--tech {
  background: linear-gradient(180deg, rgba(0, 31, 63, 0.2) 0%, var(--color-deep-black) 100%);
}

.tech__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.tech__visual {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circuit-board {
  position: relative;
  width: 320px;
  height: 320px;
}

.circuit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  border: 2px solid var(--color-neon-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 240, 255, 0.05);
  box-shadow: 0 0 32px rgba(0, 240, 255, 0.3), inset 0 0 24px rgba(0, 240, 255, 0.1);
  animation: corePulse 3s ease-in-out infinite;
}

@keyframes corePulse {
  0%, 100% { box-shadow: 0 0 32px rgba(0, 240, 255, 0.3), inset 0 0 24px rgba(0, 240, 255, 0.1); }
  50% { box-shadow: 0 0 56px rgba(0, 240, 255, 0.5), inset 0 0 36px rgba(0, 240, 255, 0.2); }
}

.circuit-core__text {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--color-neon-blue);
  letter-spacing: 0.1em;
}

.circuit-node {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid var(--color-cyber-pink);
  background: var(--color-deep-black);
  box-shadow: 0 0 12px var(--color-cyber-pink);
}

.circuit-node--1 { top: 0; left: 50%; transform: translateX(-50%); }
.circuit-node--2 { bottom: 0; left: 50%; transform: translateX(-50%); }
.circuit-node--3 { top: 50%; left: 0; transform: translateY(-50%); }
.circuit-node--4 { top: 50%; right: 0; transform: translateY(-50%); }

.circuit-line {
  position: absolute;
  background: rgba(0, 240, 255, 0.3);
  overflow: hidden;
}

.circuit-line::after {
  content: '';
  position: absolute;
  background: var(--color-neon-blue);
  box-shadow: 0 0 8px var(--color-neon-blue);
}

.circuit-line--1 {
  width: 2px;
  height: calc(50% - 50px);
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
}

.circuit-line--1::after {
  width: 100%;
  height: 30%;
  animation: dataFlowV 2s linear infinite;
}

.circuit-line--2 {
  width: 2px;
  height: calc(50% - 50px);
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
}

.circuit-line--2::after {
  width: 100%;
  height: 30%;
  animation: dataFlowV 2s linear infinite reverse;
}

.circuit-line--3 {
  width: calc(50% - 50px);
  height: 2px;
  top: 50%;
  left: 8px;
  transform: translateY(-50%);
}

.circuit-line--3::after {
  width: 30%;
  height: 100%;
  animation: dataFlowH 2s linear infinite reverse;
}

.circuit-line--4 {
  width: calc(50% - 50px);
  height: 2px;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
}

.circuit-line--4::after {
  width: 30%;
  height: 100%;
  animation: dataFlowH 2s linear infinite;
}

@keyframes dataFlowV {
  0% { top: -30%; }
  100% { top: 100%; }
}

@keyframes dataFlowH {
  0% { left: -30%; }
  100% { left: 100%; }
}

.tech__accordions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tech-accordion {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-fast);
}

.tech-accordion[open] {
  border-color: rgba(0, 240, 255, 0.3);
  background: rgba(0, 240, 255, 0.05);
}

.tech-accordion__header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-subheading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
}

.tech-accordion__header::-webkit-details-marker {
  display: none;
}

.tech-accordion__icon {
  color: var(--color-neon-blue);
  font-size: 0.8rem;
  transition: transform var(--transition-fast);
}

.tech-accordion[open] .tech-accordion__icon {
  transform: rotate(90deg);
}

.tech-accordion__body {
  padding: 0 24px 24px 56px;
  color: var(--color-silver-gray);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ---------------------------------------------------------
   ロードマップセクション
   --------------------------------------------------------- */
.section--roadmap {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(0, 240, 255, 0.08) 0%, transparent 50%),
    var(--color-deep-black);
}

.timeline {
  position: relative;
  max-width: 900px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.timeline__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-neon-blue), var(--color-cyber-pink));
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.3);
}

.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.timeline__item:nth-child(even) .timeline__card {
  grid-column: 1;
  text-align: right;
}

.timeline__item:nth-child(even) .timeline__marker {
  grid-column: 2;
  justify-self: start;
}

.timeline__item:nth-child(odd) .timeline__card {
  grid-column: 2;
}

.timeline__item:nth-child(odd) .timeline__marker {
  grid-column: 1;
  justify-self: end;
}

.timeline__marker {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.timeline__marker-dot {
  width: 16px;
  height: 16px;
  background: var(--color-neon-blue);
  border-radius: 50%;
  box-shadow: 0 0 16px var(--color-neon-blue);
  animation: markerPulse 2s ease-in-out infinite;
}

@keyframes markerPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 16px var(--color-neon-blue); }
  50% { transform: scale(1.3); box-shadow: 0 0 28px var(--color-neon-blue); }
}

.timeline__card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 28px;
  position: relative;
  transition: all var(--transition-medium);
}

.timeline__card:hover {
  border-color: rgba(0, 240, 255, 0.3);
  background: rgba(0, 240, 255, 0.05);
  transform: translateX(4px);
}

.timeline__item:nth-child(even) .timeline__card:hover {
  transform: translateX(-4px);
}

.timeline__phase {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-neon-green);
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}

.timeline__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-white);
  margin-bottom: 8px;
}

.timeline__date {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--color-cyber-pink);
  margin-bottom: 12px;
}

.timeline__card p {
  font-size: 0.95rem;
  color: var(--color-silver-gray);
  line-height: 1.7;
}

/* ---------------------------------------------------------
   CTAセクション
   --------------------------------------------------------- */
.section--cta {
  position: relative;
  padding-block: 140px;
  text-align: center;
}

.cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at center, rgba(255, 0, 160, 0.15) 0%, transparent 60%),
    var(--color-deep-black);
}

.cta__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.5;
}

.cta__pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulseRing 4s ease-out infinite;
}

.cta__pulse::before,
.cta__pulse::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(0, 240, 255, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cta__pulse::before {
  width: 80%;
  height: 80%;
  animation: pulseRing 4s ease-out infinite 1s;
}

.cta__pulse::after {
  width: 60%;
  height: 60%;
  animation: pulseRing 4s ease-out infinite 2s;
}

@keyframes pulseRing {
  0% { transform: translate(-50%, -50%) scale(0.8); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1.3); opacity: 0; }
}

.cta__content {
  position: relative;
  z-index: 2;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.countdown__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 90px;
  padding: 20px 16px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(0, 240, 255, 0.2);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.1);
}

.countdown__value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-white);
  line-height: 1;
  text-shadow: 0 0 16px rgba(0, 240, 255, 0.5);
}

.countdown__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-silver-gray);
  letter-spacing: 0.15em;
  margin-top: 8px;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 520px;
  margin-inline: auto;
}

.signup-form__field {
  text-align: left;
}

.signup-form__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-neon-blue);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.signup-form__input {
  width: 100%;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: var(--color-white);
  font-family: var(--font-mono);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.signup-form__input::placeholder {
  color: var(--color-silver-gray);
}

.signup-form__input:focus {
  border-color: var(--color-neon-blue);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
  outline: none;
}

.signup-form__input:invalid:not(:placeholder-shown) {
  border-color: var(--color-cyber-pink);
}

.signup-form__error {
  display: block;
  min-height: 20px;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-cyber-pink);
}

.cta__note {
  margin-top: 28px;
  font-size: 0.85rem;
  color: var(--color-silver-gray);
}

/* ---------------------------------------------------------
   フッター
   --------------------------------------------------------- */
.site-footer {
  background: rgba(0, 0, 0, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 64px 32px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__tagline {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--color-silver-gray);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--color-silver-gray);
  letter-spacing: 0.05em;
  transition: color var(--transition-fast);
  position: relative;
}

.footer__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-neon-blue);
  transition: width var(--transition-fast);
}

.footer__links a:hover {
  color: var(--color-neon-blue);
}

.footer__links a:hover::after {
  width: 100%;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--color-white);
  transition: all var(--transition-fast);
}

.social-link:hover {
  border-color: var(--color-neon-blue);
  color: var(--color-neon-blue);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.3);
  transform: translateY(-2px);
}

.footer__copyright {
  grid-column: 1 / -1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-silver-gray);
  letter-spacing: 0.1em;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---------------------------------------------------------
   スクロールアニメーション用クラス
   --------------------------------------------------------- */
.reveal-text,
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-text.is-visible,
.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 連続したアニメーションに遅延をつける */
.reveal-up:nth-child(1) { transition-delay: 0s; }
.reveal-up:nth-child(2) { transition-delay: 0.1s; }
.reveal-up:nth-child(3) { transition-delay: 0.2s; }
.reveal-up:nth-child(4) { transition-delay: 0.3s; }

/* ---------------------------------------------------------
   レスポンシブ
   --------------------------------------------------------- */
@media (max-width: 1024px) {
  .prologue__body,
  .tech__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 80px;
  }

  .hamburger {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all var(--transition-medium);
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .nav-link {
    font-size: 1.2rem;
  }

  .hero__title {
    font-size: clamp(2.2rem, 10vw, 4rem);
  }

  .hero__actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .timeline__line {
    left: 16px;
  }

  .timeline__item {
    grid-template-columns: 40px 1fr;
    gap: 24px;
  }

  .timeline__item:nth-child(odd) .timeline__card,
  .timeline__item:nth-child(even) .timeline__card {
    grid-column: 2;
    text-align: left;
  }

  .timeline__item:nth-child(odd) .timeline__marker,
  .timeline__item:nth-child(even) .timeline__marker {
    grid-column: 1;
    justify-self: start;
  }

  .countdown {
    gap: 12px;
  }

  .countdown__item {
    min-width: 70px;
    padding: 16px 12px;
  }

  .countdown__value {
    font-size: 1.8rem;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__social {
    justify-content: center;
  }

  .footer__links {
    align-items: center;
  }

  .sound-toggle__label {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero__meta {
    flex-direction: column;
    gap: 16px;
  }

  .data-block {
    padding: 16px;
  }

  .circuit-board {
    transform: scale(0.85);
  }

  .signup-form__input,
  .btn--large {
    padding: 14px 20px;
  }
}

/* ---------------------------------------------------------
   アクセシビリティ：モーション軽減
   --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .noise-overlay {
    animation: none;
  }

  .reveal-text,
  .reveal-up {
    opacity: 1;
    transform: none;
  }
}
