/* SuperClaw - 赛博风 + 玻璃拟态 (Glassmorphism + Cyberpunk) */
:root {
  /* 赛博配色：CYBERCORE 风格 */
  --cyber-cyan: #00f0ff;
  --cyber-cyan-dim: rgba(0, 240, 255, 0.15);
  --cyber-magenta: #ff2a6d;
  --cyber-magenta-dim: rgba(255, 42, 109, 0.12);
  --cyber-green: #05ffa1;
  --cyber-yellow: #fcee0a;
  --cyber-void: #0a0a0f;
  --cyber-void-100: #12141d;
  --cyber-void-200: #181a25;
  --cyber-void-300: #1f2230;
  /* 玻璃拟态 */
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-strong: rgba(0, 240, 255, 0.25);
  --glass-blur: 16px;
  --font: 'Noto Sans JP', sans-serif;
  --radius: 10px;
  --radius-sm: 6px;
  /* 霓虹发光（加强） */
  --glow-cyan: 0 0 28px rgba(0, 240, 255, 0.55), 0 0 56px rgba(0, 240, 255, 0.3);
  --glow-magenta: 0 0 24px rgba(255, 42, 109, 0.5);
  --text-primary: #e8eaef;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--cyber-void);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* 赛博扫描线 overlay（可选，低不透明度） */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  opacity: 0.4;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }
}

/* ========== Header - 玻璃拟态 ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.6);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--glass-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.logo:hover {
  color: var(--cyber-cyan);
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s, text-shadow 0.2s;
}

.nav a:hover {
  color: var(--cyber-cyan);
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.5);
}

/* ========== Hero - 赛博 + 玻璃 ========== */
.hero {
  position: relative;
  padding: 160px 0 120px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-color: var(--cyber-void);
  background-image: linear-gradient(135deg, #0d0e14 0%, #12141d 30%, #0a0a0f 70%, #040508 100%);
}

/* 背景：缓慢移动的网格（科技感） */
.hero-bg-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: 48px 48px;
  animation: hero-grid-move 20s linear infinite;
  pointer-events: none;
}

@keyframes hero-grid-move {
  0% { transform: translate(0, 0); }
  100% { transform: translate(48px, 48px); }
}

/* 背景：扫描线（自上而下） */
.hero-bg-scan {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(180deg, transparent, rgba(0, 240, 255, 0.2), transparent);
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.35);
  animation: hero-scan 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes hero-scan {
  0% { top: 0; opacity: 0.5; }
  50% { top: 100%; opacity: 1; }
  100% { top: 0; opacity: 0.5; }
}

/* 背景：浮动光点 */
.hero-bg-float {
  position: absolute;
  border-radius: 50%;
  background: rgba(0, 240, 255, 0.2);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
  pointer-events: none;
}

.hero-bg-float-1 { width: 6px; height: 6px; left: 15%; top: 20%; animation: hero-float 8s ease-in-out infinite; }
.hero-bg-float-2 { width: 4px; height: 4px; left: 80%; top: 30%; animation: hero-float 10s ease-in-out infinite 1s; }
.hero-bg-float-3 { width: 8px; height: 8px; left: 50%; top: 70%; animation: hero-float 7s ease-in-out infinite 2s; }
.hero-bg-float-4 { width: 4px; height: 4px; left: 25%; top: 60%; animation: hero-float 9s ease-in-out infinite 0.5s; }
.hero-bg-float-5 { width: 6px; height: 6px; left: 70%; top: 80%; animation: hero-float 11s ease-in-out infinite 1.5s; }

@keyframes hero-float {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
  25% { transform: translate(10px, -15px) scale(1.2); opacity: 0.9; }
  50% { transform: translate(-8px, -8px) scale(0.9); opacity: 0.6; }
  75% { transform: translate(-12px, 10px) scale(1.1); opacity: 0.85; }
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 70%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(0, 240, 255, 0.08) 0%, transparent 55%);
  pointer-events: none;
  animation: hero-glow-pulse 6s ease-in-out infinite;
}

@keyframes hero-glow-pulse {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(255, 42, 109, 0.05) 0%, transparent 55%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  text-align: center;
}

.hero-eyebrow {
  font-size: 0.8125rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  text-transform: none;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--cyber-cyan) 0%, #54d1db 50%, var(--cyber-magenta) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.6)) drop-shadow(0 0 40px rgba(0, 240, 255, 0.25));
  animation: hero-title-glow 2s ease-in-out infinite;
}

@keyframes hero-title-glow {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.5)) drop-shadow(0 0 40px rgba(0, 240, 255, 0.2)); }
  50% { filter: drop-shadow(0 0 28px rgba(0, 240, 255, 0.7)) drop-shadow(0 0 50px rgba(0, 240, 255, 0.3)); }
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-weight: 500;
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.hero-desc {
  max-width: 640px;
  margin: 0 auto 32px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.hero-download {
  margin-top: 8px;
}

.hero-download-label {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--cyber-cyan);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.hero-download-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: stretch;
}

.hero-dl-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 200px;
  min-height: 120px;
  padding: 20px 16px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s, background 0.25s;
}

.hero-dl-btn:hover {
  border-color: rgba(0, 240, 255, 0.5);
  box-shadow: 0 0 28px rgba(0, 240, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.07);
}

.hero-dl-btn-disabled {
  opacity: 0.6;
  cursor: default;
  position: relative;
}

.hero-dl-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  flex-shrink: 0;
}

.hero-dl-btn:not(.hero-dl-btn-disabled) .hero-dl-icon {
  color: var(--cyber-cyan);
  filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.35));
}

.hero-dl-icon svg {
  width: 32px;
  height: 32px;
  display: block;
}

.hero-dl-icon svg[stroke] {
  stroke: currentColor;
}

.hero-dl-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
  text-align: center;
}

.hero-dl-badge {
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.hero-trust {
  margin-top: 20px;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* 按钮：玻璃 + 霓虹边框/发光 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.btn-primary {
  background: var(--glass-bg);
  color: var(--cyber-cyan);
  border: 1px solid rgba(0, 240, 255, 0.5);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.35), 0 0 48px rgba(0, 240, 255, 0.15), inset 0 0 20px rgba(0, 240, 255, 0.05);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-cyan), inset 0 0 24px rgba(0, 240, 255, 0.06);
  border-color: var(--cyber-cyan);
}

.btn-ghost {
  background: transparent;
  color: var(--cyber-magenta);
  border: 1px solid rgba(255, 42, 109, 0.35);
}

.btn-ghost:hover {
  background: var(--cyber-magenta-dim);
  box-shadow: var(--glow-magenta);
}

/* ========== Section 通用 ========== */
.section {
  padding: 64px 0;
}

.section-eyebrow {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 40px;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ========== How it works - 三步上手 ========== */
.how {
  background: linear-gradient(180deg, var(--cyber-void) 0%, var(--cyber-void-100) 100%);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.step {
  text-align: center;
  padding: 28px 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cyber-cyan-dim);
  color: var(--cyber-cyan);
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 16px;
}

.step-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.step-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

/* ========== Features - Qclaw 风格功能块 ========== */
.features-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

@media (max-width: 1100px) {
  .features-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .features-row {
    grid-template-columns: 1fr;
  }
}

.feature-block {
  text-align: center;
  padding: 24px 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.feature-block:hover {
  border-color: rgba(0, 240, 255, 0.25);
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.08);
}

.feature-block-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyber-cyan);
  filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.35));
}

.feature-block-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  display: block;
}

.feature-block-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.feature-block-desc {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
}

/* ========== Use cases - 真实场景（对话卡片） ========== */
.usecases {
  background: linear-gradient(180deg, var(--cyber-void-100) 0%, var(--cyber-void) 100%);
}

.scenarios {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .scenarios {
    grid-template-columns: 1fr;
  }
}

.scenario-card {
  padding: 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.scenario-card:hover {
  border-color: rgba(0, 240, 255, 0.2);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.06);
}

.scenario-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cyber-cyan);
  margin-bottom: 14px;
}

.scenario-chat {
  font-size: 0.875rem;
  line-height: 1.5;
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.scenario-chat:last-child {
  margin-bottom: 0;
}

.scenario-chat-user {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
}

.scenario-chat-ai {
  background: var(--cyber-cyan-dim);
  border: 1px solid rgba(0, 240, 255, 0.2);
  color: var(--text-primary);
}

/* ========== Download - Qclaw 风格（底部再次 CTA） ========== */
.download {
  background: linear-gradient(180deg, var(--cyber-void-100) 0%, var(--cyber-void) 100%);
}

.download-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: stretch;
}

.dl-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 200px;
  min-height: 120px;
  padding: 20px 16px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s, background 0.25s;
}

.dl-btn:hover {
  border-color: rgba(0, 240, 255, 0.5);
  box-shadow: 0 0 28px rgba(0, 240, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.07);
}

.dl-btn-disabled {
  opacity: 0.6;
  cursor: default;
}

.dl-btn-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  flex-shrink: 0;
}

.dl-btn:not(.dl-btn-disabled) .dl-btn-icon {
  color: var(--cyber-cyan);
  filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.35));
}

.dl-btn-icon svg {
  width: 32px;
  height: 32px;
  display: block;
}

.dl-btn-icon svg[stroke] {
  stroke: currentColor;
}

.dl-btn-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
  text-align: center;
}

.dl-btn-badge {
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ========== About（QClaw「关于」同様：見出し＋本文） ========== */
.about-content {
  max-width: 640px;
  margin: 0 auto;
}

.about-content p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.75;
  margin-bottom: 1em;
}

.about-content p:last-child {
  margin-bottom: 0;
}

.about-content strong {
  color: var(--cyber-cyan);
}

/* ========== FAQ（見出し＋一覧） ========== */
.faq-list {
  max-width: 640px;
  margin: 0 auto;
}

.faq-item {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item:hover,
.faq-item[open] {
  border-color: rgba(0, 240, 255, 0.2);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.06);
}

.faq-item summary {
  padding: 18px 24px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--cyber-cyan);
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  padding: 0 24px 18px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* ========== ライセンス購入ページ ========== */
.purchase-main {
  min-height: 100vh;
  padding-top: 64px;
}

.nav a.nav-current {
  color: var(--cyber-cyan);
  font-weight: 600;
}

.purchase-section {
  padding-top: 48px;
  padding-bottom: 80px;
}

.purchase-card {
  max-width: 720px;
  margin: 0 auto 48px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 0 32px rgba(0, 0, 0, 0.2);
}

.purchase-card-inner {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 0;
}

@media (max-width: 768px) {
  .purchase-card-inner {
    grid-template-columns: 1fr;
  }
}

.purchase-product {
  padding: 32px 28px;
}

.purchase-product-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.purchase-product-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.purchase-features {
  list-style: none;
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.8;
}

.purchase-features li {
  padding-left: 20px;
  position: relative;
}

.purchase-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--cyber-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
}

.purchase-action {
  padding: 28px;
  background: rgba(0, 0, 0, 0.15);
  border-left: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 768px) {
  .purchase-action {
    border-left: none;
    border-top: 1px solid var(--glass-border);
  }
}

.purchase-price {
  margin-bottom: 12px;
}

.purchase-price-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.purchase-price-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cyber-cyan);
  text-shadow: 0 0 16px rgba(0, 240, 255, 0.35);
}

.purchase-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.purchase-btn {
  width: 100%;
  padding: 16px 24px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--cyber-void);
  background: linear-gradient(135deg, var(--cyber-cyan) 0%, #00c4cc 100%);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.4);
}

.purchase-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(0, 240, 255, 0.5);
}

.purchase-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.purchase-config-hint {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.purchase-flow {
  max-width: 640px;
  margin: 0 auto;
  padding: 28px 24px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}

.purchase-flow-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.purchase-flow-steps {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.8;
  padding-left: 20px;
  margin: 0;
}

.purchase-flow-steps li {
  margin-bottom: 8px;
}

.purchase-flow-steps li:last-child {
  margin-bottom: 0;
}

/* 購入完了ページ */
.purchase-success-card {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 28px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  box-shadow: 0 0 32px rgba(0, 0, 0, 0.2);
}

.purchase-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  color: var(--cyber-green);
  filter: drop-shadow(0 0 16px rgba(5, 255, 161, 0.4));
}

.purchase-success-icon svg {
  width: 100%;
  height: 100%;
}

.purchase-success-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.purchase-success-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.purchase-success-license {
  margin-bottom: 24px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}

.purchase-success-license-status {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.purchase-success-license-key-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.purchase-success-license-key {
  font-family: ui-monospace, monospace;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--cyber-cyan);
  font-weight: 600;
  word-break: break-all;
}

.purchase-success-copy-btn {
  padding: 8px 16px;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cyber-void);
  background: var(--cyber-cyan);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: opacity 0.2s;
}

.purchase-success-copy-btn:hover {
  opacity: 0.9;
}

.purchase-success-save-hint {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.purchase-success-steps {
  text-align: left;
  max-width: 360px;
  margin: 0 auto 28px;
  padding-left: 22px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.8;
}

.purchase-success-steps li {
  margin-bottom: 8px;
}

.purchase-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.purchase-success-actions .btn {
  min-width: 140px;
}

/* ========== Footer（QClaw 同様：ロゴ＋ナビ＋著作権） ========== */
.footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--glass-border);
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  display: inline-block;
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 20px;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-brand:hover {
  color: var(--cyber-cyan);
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--cyber-cyan);
}

.footer-operator {
  max-width: 360px;
  margin: 0 auto 24px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  text-align: left;
}

.footer-operator-title {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.footer-operator-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.footer-operator-contact {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin: 0;
}

.footer-operator-contact a {
  color: var(--cyber-cyan);
  text-decoration: none;
}

.footer-operator-contact a:hover {
  text-decoration: underline;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ========== 利用規約・プライバシー等 法務ページ ========== */
.legal-main {
  padding: 120px 0 80px;
  min-height: 100vh;
}

.legal-content {
  max-width: 720px;
  margin: 0 auto;
}

.legal-title {
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.legal-updated {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.legal-intro {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.legal-section {
  margin-bottom: 32px;
}

.legal-section h2 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--cyber-cyan);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.legal-section p,
.legal-section li {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.75;
  margin-bottom: 10px;
}

.legal-section p:last-child,
.legal-section li:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  list-style: disc;
  padding-left: 1.5em;
  margin: 12px 0;
}

.legal-section li {
  margin-bottom: 8px;
}

.legal-contact {
  margin-top: 12px;
  padding: 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  color: var(--text-primary) !important;
}

.legal-contact a {
  color: var(--cyber-cyan);
  text-decoration: none;
}

.legal-contact a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .legal-main {
    padding: 100px 0 60px;
  }
  .legal-section h2 {
    font-size: 0.9375rem;
  }
  .legal-section p,
  .legal-section li {
    font-size: 0.875rem;
  }
}

/* 赛博风：加强霓虹脉动、加快速度 */
@keyframes neon-pulse {
  0%, 100% { box-shadow: 0 0 24px rgba(0, 240, 255, 0.35), 0 0 48px rgba(0, 240, 255, 0.15), inset 0 0 20px rgba(0, 240, 255, 0.05); border-color: rgba(0, 240, 255, 0.5); }
  50% { box-shadow: 0 0 36px rgba(0, 240, 255, 0.55), 0 0 64px rgba(0, 240, 255, 0.25), inset 0 0 28px rgba(0, 240, 255, 0.08); border-color: rgba(0, 240, 255, 0.75); }
}

.btn-primary {
  animation: neon-pulse 1.4s ease-in-out infinite;
}

.btn-primary:hover {
  animation: none;
}


/* ========== 手机端自适应 ========== */

/* 平板及以下 */
@media (max-width: 768px) {
  .header-inner {
    height: 56px;
  }

  .nav {
    gap: 20px;
  }

  .nav a {
    font-size: 0.8125rem;
  }

  .hero {
    padding: 120px 0 80px;
  }

  .hero-desc {
    font-size: 0.9rem;
    margin-bottom: 28px;
  }

  .hero-download-label {
    font-size: 1rem;
    margin-bottom: 16px;
  }

  .hero-download-btns {
    gap: 12px;
  }

  .hero-dl-btn {
    width: 160px;
    min-height: 100px;
    padding: 16px 12px;
  }

  .hero-dl-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 8px;
  }

  .hero-dl-icon svg {
    width: 28px;
    height: 28px;
  }

  .hero-dl-name {
    font-size: 0.8125rem;
  }

  .section {
    padding: 48px 0;
  }

  .section-subtitle {
    margin-bottom: 32px;
    font-size: 0.875rem;
  }

  .step {
    padding: 24px 16px;
  }

  .feature-block {
    padding: 20px 14px;
  }

  .scenario-card {
    padding: 20px;
  }

  .scenario-chat {
    font-size: 0.8125rem;
    padding: 10px 12px;
  }

  .download-row {
    gap: 12px;
  }

  .dl-btn {
    width: 160px;
    min-height: 100px;
    padding: 16px 12px;
  }

  .dl-btn-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 8px;
  }

  .dl-btn-icon svg {
    width: 28px;
    height: 28px;
  }

  .dl-btn-name {
    font-size: 0.8125rem;
  }

  .footer {
    padding: 40px 0 24px;
  }

  .footer-nav {
    gap: 20px;
    margin-bottom: 20px;
  }

  .footer-nav a {
    font-size: 0.8125rem;
  }
}

/* 手机竖屏 */
@media (max-width: 640px) {
  .header-inner {
    min-height: 52px;
    height: auto;
    padding: 10px 0;
  }

  .logo {
    font-size: 1.1rem;
  }

  .nav {
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .nav a {
    font-size: 0.75rem;
  }

  .hero {
    padding: 100px 0 64px;
  }

  .hero-title {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  .hero-tagline {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .hero-desc {
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }

  .hero-download-btns {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-dl-btn {
    width: 100%;
    max-width: 280px;
    min-height: 88px;
    padding: 16px 20px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 16px;
    text-align: left;
  }

  .hero-dl-icon {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .hero-dl-name {
    text-align: left;
  }

  .hero-dl-badge {
    margin-top: 0;
    margin-left: auto;
  }

  .section {
    padding: 40px 0;
  }

  .section-title {
    font-size: clamp(1.25rem, 5vw, 1.5rem);
  }

  .section-subtitle {
    margin-bottom: 24px;
    font-size: 0.8125rem;
  }

  .steps {
    gap: 16px;
  }

  .step {
    padding: 20px 16px;
  }

  .step-num {
    width: 36px;
    height: 36px;
    font-size: 1rem;
    margin-bottom: 12px;
  }

  .step-title {
    font-size: 0.9375rem;
  }

  .step-desc {
    font-size: 0.8125rem;
  }

  .feature-block {
    padding: 18px 14px;
  }

  .feature-block-title {
    font-size: 0.9rem;
  }

  .feature-block-desc {
    font-size: 0.75rem;
  }

  .scenario-card {
    padding: 16px;
  }

  .scenario-label {
    font-size: 0.8125rem;
    margin-bottom: 12px;
  }

  .scenario-chat {
    font-size: 0.75rem;
    padding: 10px 12px;
    margin-bottom: 8px;
  }

  .download-row {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .dl-btn {
    width: 100%;
    max-width: 280px;
    min-height: 88px;
    padding: 16px 20px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 16px;
    text-align: left;
  }

  .dl-btn-icon {
    margin-bottom: 0;
  }

  .dl-btn-name {
    text-align: left;
  }

  .dl-btn-badge {
    margin-top: 0;
    margin-left: auto;
  }

  .about-content p {
    font-size: 0.875rem;
  }

  .faq-item summary {
    padding: 14px 16px;
    font-size: 0.9rem;
  }

  .faq-item p {
    padding: 0 16px 14px;
    font-size: 0.8125rem;
  }

  .footer-brand {
    font-size: 1rem;
    margin-bottom: 16px;
  }

  .footer-nav {
    gap: 16px;
    margin-bottom: 16px;
  }

  .footer-operator {
    padding: 12px 16px;
    margin-bottom: 20px;
  }

  .footer-operator-title {
    font-size: 0.65rem;
  }

  .footer-operator-name {
    font-size: 0.8125rem;
  }

  .footer-operator-contact {
    font-size: 0.75rem;
  }

  .footer-copy {
    font-size: 0.75rem;
  }
}

/* 小屏手机（可选） */
@media (max-width: 380px) {
  .container {
    padding: 0 12px;
  }

  .nav {
    gap: 10px;
  }

  .nav a {
    font-size: 0.7rem;
  }

  .hero {
    padding: 88px 0 56px;
  }

  .hero-dl-btn,
  .dl-btn {
    max-width: 100%;
  }
}

/* 无障碍：减少动画 */
@media (prefers-reduced-motion: reduce) {
  .hero-bg-grid,
  .hero-bg-scan,
  .hero-bg-float,
  .hero-bg::before,
  .btn-primary,
  .hero-title {
    animation: none !important;
  }
}
