/* ==========================================================================
   継続ブレーンAI (BrainAI) 公式ランディングページ スタイルシート
   Pastel Marshmallow Pink × Galaxy Deep Navy / Purple Edition
   ========================================================================== */

:root {
  /* メインカラー: 知的なギャラクシーネイビー × パステルマシュマロピンク × コズミックパープル */
  --navy-deep: #181D31;
  --navy-main: #252C48;
  --navy-card: #2B3252;
  --navy-soft: #3B446B;

  --pink-main: #E07A90;
  --pink-bright: #EC4899;
  --pink-pastel: #F9A8D4;
  --pink-light: #FDF2F8;
  --pink-border: #FBCFE8;
  --pink-button: #DC8799;

  --purple-main: #6366F1;
  --purple-deep: #4F46E5;
  --purple-galaxy: #7C3AED;
  --purple-light: #EEF2FF;
  --purple-border: #C7D2FE;

  /* 既存構成互換変数 */
  --primary: #4F46E5;
  --primary-hover: #4338CA;
  --primary-accent: #E07A90;
  --primary-light: #EEF2FF;
  --primary-subtle: #F5F6FA;

  --gradient-galaxy: linear-gradient(135deg, #252C48 0%, #4F46E5 50%, #EC4899 100%);
  --gradient-pink-navy: linear-gradient(135deg, #E07A90 0%, #7C3AED 55%, #252C48 100%);
  --gradient-badge: linear-gradient(135deg, #F472B6 0%, #8B5CF6 100%);
  --gradient-exp: linear-gradient(90deg, #E07A90 0%, #7C3AED 55%, #252C48 100%);
  --gradient-dark-card: linear-gradient(155deg, #1E243B 0%, #2B3252 60%, #312E81 100%);

  --success: #10B981;
  --success-light: #DCFCE7;
  --gold: #F59E0B;
  --gold-light: #FEF3C7;

  /* テキストカラー */
  --text-main: #1E243B;
  --text-secondary: #475569;
  --text-muted: #64748B;

  /* キャンバス背景（添付アプリのオフホワイト・ソフトグレー調） */
  --bg-page: #F6F7FB;
  --bg-subtle: #EFEFF7;
  --bg-card: #FFFFFF;
  --border: #E2E8F0;
  --border-light: #F1F5F9;

  --shadow-sm: 0 2px 10px 0 rgba(24, 29, 49, 0.05);
  --shadow-md: 0 10px 26px -4px rgba(24, 29, 49, 0.08), 0 4px 10px -2px rgba(79, 70, 229, 0.05);
  --shadow-lg: 0 20px 42px -6px rgba(24, 29, 49, 0.12), 0 8px 18px -4px rgba(224, 122, 144, 0.1);
  --shadow-galaxy: 0 16px 38px -4px rgba(79, 70, 229, 0.24), 0 8px 20px -2px rgba(236, 72, 153, 0.18);

  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", Meiryo, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
  word-break: auto-phrase;
}

/* Responsive Linebreak & Word-wrap Utilities */
.nowrap, .inline-block {
  display: inline-block;
}
.pc-only {
  display: inline;
}
.sp-only {
  display: none;
}
@media (max-width: 768px) {
  .pc-only {
    display: none !important;
  }
  .sp-only {
    display: inline !important;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

picture {
  display: contents;
}

/* 共通コンテナ */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 汎用ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 9999px;
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  border: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.btn-primary {
  background: var(--gradient-galaxy);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.32);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(236, 72, 153, 0.38);
}

.btn-pink {
  background: linear-gradient(135deg, #E07A90 0%, #EC4899 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(224, 122, 144, 0.35);
}

.btn-pink:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(236, 72, 153, 0.45);
}

.btn-secondary {
  background: var(--purple-light);
  color: var(--navy-main);
  border: 1.5px solid var(--purple-border);
}

.btn-secondary:hover {
  background: #E0E7FF;
}

/* --------------------------------------------------
   Header
-------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 247, 251, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.header-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.logo-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(24, 29, 49, 0.12);
  display: block;
}

.logo-sub {
  font-size: 11px;
  font-weight: 800;
  color: #7C3AED;
  background: #F3E8FF;
  padding: 2px 7px;
  border-radius: 6px;
  margin-left: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--pink-bright);
}

.cta-header-btn {
  background: var(--navy-main);
  color: #FFFFFF;
  padding: 10px 22px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(37, 44, 72, 0.25);
  transition: all 0.2s ease;
}

.cta-header-btn:hover {
  background: var(--purple-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
}

/* --------------------------------------------------
   Hero Section
-------------------------------------------------- */
.hero {
  padding: 64px 0 88px;
  background:
    radial-gradient(circle at 85% 18%, rgba(244, 114, 182, 0.16) 0%, rgba(246, 247, 251, 0) 55%),
    radial-gradient(circle at 12% 78%, rgba(99, 102, 241, 0.12) 0%, rgba(246, 247, 251, 0) 55%),
    radial-gradient(circle at 50% 10%, rgba(124, 58, 237, 0.08) 0%, rgba(246, 247, 251, 0) 65%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 44px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #FDF2F8 0%, #EEF2FF 100%);
  border: 1.5px solid #FBCFE8;
  color: #9D174D;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 12.5px;
  font-weight: 800;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(236, 72, 153, 0.1);
  text-align: center;
}

.hero-badge .badge-icon {
  flex-shrink: 0;
  display: inline-block;
}

.hero-subcopy {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--purple-deep);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.hero-title {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.28;
  color: var(--text-main);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.hero-title-line {
  display: block;
}

.text-gradient {
  background: linear-gradient(135deg, #E07A90 0%, #EC4899 35%, #7C3AED 75%, #4F46E5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 15.5px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.85;
}

.hero-target-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.target-pill {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  color: var(--navy-main);
  font-size: 12px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 9999px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.hero-feature-checklist {
  list-style: none;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.hero-feature-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.55;
}

.hero-feature-checklist .check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  background: var(--gradient-badge);
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 11.5px;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(236, 72, 153, 0.28);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--navy-deep);
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.store-btn:hover {
  transform: translateY(-2px);
  background: #0F172A;
  box-shadow: var(--shadow-galaxy);
}

.store-btn-icon,
.store-btn-svg {
  font-size: 24px;
  flex-shrink: 0;
  display: block;
}

.store-btn-text-sub {
  font-size: 10px;
  opacity: 0.8;
  display: block;
  line-height: 1.1;
}

.store-btn-text-main {
  font-size: 14.5px;
  font-weight: 800;
  display: block;
  line-height: 1.2;
}

.hero-trial-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FEF2F8;
  border: 1.5px solid #FBCFE8;
  color: #BE185D;
  font-size: 12.5px;
  font-weight: 800;
  padding: 10px 16px;
  border-radius: 14px;
}

.hero-note {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

/* --------------------------------------------------
   Hero App Mockup (添付UIデザイン忠実再現 + 画面切替タブ)
-------------------------------------------------- */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.floating-brain-badge {
  position: absolute;
  top: 22px;
  left: -18px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 8px 14px 8px 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 28px -4px rgba(37, 44, 72, 0.18);
  border: 1.5px solid #FBCFE8;
  z-index: 25;
  animation: floatBadge 4s ease-in-out infinite;
}

.floating-galaxy-badge {
  position: absolute;
  bottom: 90px;
  right: -16px;
  background: linear-gradient(135deg, #1E1B4B 0%, #312E81 100%);
  color: #FFFFFF;
  border-radius: 20px;
  padding: 8px 14px 8px 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 28px -4px rgba(49, 46, 129, 0.38);
  border: 1.5px solid #A78BFA;
  z-index: 25;
  animation: floatBadge 4.5s ease-in-out infinite reverse;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.floating-badge-img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(236, 72, 153, 0.3);
  background: #FFF;
}

.floating-badge-tag {
  font-size: 9.5px;
  font-weight: 800;
  color: #BE185D;
  background: #FCE7F3;
  padding: 1px 6px;
  border-radius: 5px;
  display: inline-block;
  margin-bottom: 2px;
}

.floating-badge-tag.galaxy {
  color: #FEF3C7;
  background: rgba(245, 158, 11, 0.25);
  border: 1px solid rgba(251, 191, 36, 0.4);
}

.floating-badge-title {
  font-size: 11.5px;
  font-weight: 900;
  color: #1E293B;
  display: block;
  white-space: nowrap;
}

.floating-badge-title.light {
  color: #FFFFFF;
}

/* モックアップ画面切替ピル */
.mockup-screen-switcher {
  display: inline-flex;
  background: #E2E8F0;
  padding: 4px;
  border-radius: 9999px;
  margin-bottom: 14px;
  gap: 4px;
  z-index: 20;
}

.mockup-switch-btn {
  border: none;
  background: transparent;
  color: #475569;
  font-size: 11.5px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mockup-switch-btn.active {
  background: var(--navy-main);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(24, 29, 49, 0.2);
}

.mockup-interactive-hint {
  font-size: 11.5px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 10px;
  letter-spacing: 0.02em;
}

.phone-mockup-note {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 6px;
  letter-spacing: 0.02em;
  opacity: 0.85;
}

/* スマホフレーム（添付画像のネイビーベゼルを再現） */
.phone-frame {
  width: 336px;
  background: #1C2033;
  border-radius: 48px;
  padding: 12px;
  box-shadow:
    0 28px 64px -12px rgba(24, 29, 49, 0.32),
    0 0 0 2px rgba(255, 255, 255, 0.1) inset;
  position: relative;
  z-index: 10;
}

.phone-screen {
  background: #F5F6FA;
  border-radius: 38px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 620px;
  position: relative;
  color: #1E243B;
}

/* ステータスバー (20:27 / 91%) */
.app-statusbar {
  padding: 12px 22px 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  font-weight: 800;
  color: #1E243B;
}

/* 画面コンテンツ切り替え用 */
.app-tab-pane {
  display: none;
  flex-direction: column;
  flex: 1;
  padding: 4px 14px 12px;
}

.app-tab-pane.active {
  display: flex;
}

/* --- Screen 1: 今日 (Home - 実機アプリ完全アライメント) --- */
.brain-greeting-row {
  margin-bottom: 8px;
  padding: 0 2px;
}

.brain-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
}

.brain-date-sub {
  font-size: 11px;
  color: #64748B;
  font-weight: 700;
}

.brain-header-badges {
  display: flex;
  align-items: center;
  gap: 4px;
}

.brain-badge-plan {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #059669;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.brain-badge-plan.premium {
  background: #FEF3C7;
  border-color: #FCD34D;
  color: #B45309;
}

.brain-badge-streak {
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #DC2626;
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.brain-badge-ticket {
  background: #FEF3C7;
  border: 1px solid #FCD34D;
  color: #B45309;
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.brain-btn-settings {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  padding: 0;
  transition: all 0.18s ease;
}

.brain-btn-settings:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
}

.brain-greeting-title {
  font-size: 15.5px;
  font-weight: 900;
  color: #1E243B;
  letter-spacing: -0.02em;
}

/* ブレーン君ステータスカード（実機アライメント: 連続記録バナー＋キャラ＋進捗） */
.brain-summary-card {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(24, 29, 49, 0.04);
  margin-bottom: 8px;
}

.brain-streak-banner {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 6px;
  margin-bottom: 6px;
  border-bottom: 1px solid #F1F5F9;
  font-size: 9.5px;
  color: #475569;
  font-weight: 700;
}

.brain-streak-banner strong {
  color: #DC2626;
  background: #FEF2F2;
  padding: 1px 5px;
  border-radius: 4px;
  font-weight: 900;
}

.brain-streak-banner span.comment {
  color: #64748B;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 9px;
}

.brain-summary-main {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brain-dial-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle, #FFFFFF 55%, #F1F5F9 100%);
  border: 1.5px solid #E2E8F0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.03);
}

.brain-dial-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 50%;
}

.brain-summary-info {
  flex: 1;
  min-width: 0;
}

.brain-summary-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 2px;
}

.brain-summary-name {
  font-size: 13.5px;
  font-weight: 900;
  color: #1E243B;
}

.brain-stage-pill {
  background: #EEF2FF;
  color: #3B446B;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 9999px;
  white-space: nowrap;
}

.brain-summary-desc {
  font-size: 10px;
  color: #64748B;
  line-height: 1.35;
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brain-mini-progress-track {
  height: 5px;
  background: #EFEFF7;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 3px;
}

.brain-mini-progress-fill {
  height: 100%;
  width: 50%;
  background: linear-gradient(90deg, #252C48 0%, #4F46E5 100%);
  border-radius: 999px;
}

.brain-mini-progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  font-weight: 700;
  color: #64748B;
}

.brain-habit-keep-row {
  margin-top: 5px;
  padding-top: 4px;
  border-top: 1px dashed #E2E8F0;
  font-size: 9px;
  font-weight: 800;
  color: #4F46E5;
}

/* 💬 ブレーン君にひとこと相談（弱音AIバー） */
.brain-chat-prompt-bar {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 7px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  cursor: pointer;
}

.brain-chat-prompt-emoji {
  font-size: 15px;
}

.brain-chat-prompt-text {
  flex: 1;
  min-width: 0;
}

.brain-chat-prompt-title {
  font-size: 10.5px;
  font-weight: 800;
  color: #1E243B;
  line-height: 1.2;
}

.brain-chat-prompt-sub {
  font-size: 8.5px;
  color: #64748B;
  font-weight: 600;
  line-height: 1.2;
}

.brain-chat-prompt-badge {
  background: #EEF2FF;
  color: #4F46E5;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 9999px;
  white-space: nowrap;
}

/* 週間カレンダーストリップ（日付＋達成ドットのピル） */
.brain-week-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  text-align: center;
  margin-bottom: 8px;
  padding: 0 1px;
}

.week-day-item {
  padding: 4px 2px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  font-size: 9px;
  color: #64748B;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
}

.week-day-item strong {
  font-size: 11.5px;
  font-weight: 900;
  color: #1E243B;
}

.week-day-item.active {
  background: #1E243B;
  border-color: #1E243B;
  color: #FFFFFF;
  box-shadow: 0 3px 8px rgba(30, 36, 59, 0.2);
}

.week-day-item.active strong {
  color: #FFFFFF;
}

.week-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #CBD5E1;
}

.week-dot.done {
  background: #10B981;
}

.week-day-item.active .week-dot.done {
  background: #34D399;
}

.week-stamp {
  font-size: 10px;
  line-height: 1;
  display: inline-block;
}

/* 目標（ゴール）タブ＆バナーエリア */
.brain-goal-section {
  margin-bottom: 8px;
}

.brain-goal-chips {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 5px;
  overflow-x: auto;
  padding-bottom: 1px;
}

.brain-goal-chip {
  font-size: 9px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 9999px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  color: #475569;
  white-space: nowrap;
}

.brain-goal-chip.active {
  background: #EEF2FF;
  border-color: #4F46E5;
  color: #4F46E5;
}

.brain-goal-chip.add {
  border-style: dashed;
  color: #6366F1;
}

.brain-goal-banner {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 5px 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9.5px;
  font-weight: 700;
  color: #334155;
}

.brain-goal-banner-left {
  display: flex;
  align-items: center;
  gap: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brain-goal-banner-left strong {
  color: #1E243B;
  font-weight: 800;
}

.brain-goal-banner-right {
  font-size: 8.5px;
  color: #6366F1;
  font-weight: 800;
  white-space: nowrap;
}

/* TODAY'S FOCUS ネイビーカード（実機仕様: タップで完了＆自動繰り上がり、ボタン撤廃） */
.brain-focus-card {
  background: #1E243B;
  color: #FFFFFF;
  border-radius: 18px;
  padding: 12px 14px;
  margin-bottom: 8px;
  box-shadow: 0 6px 16px rgba(30, 36, 59, 0.2);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.brain-focus-card:hover {
  transform: translateY(-1px);
}

.brain-focus-card.completed {
  background: linear-gradient(135deg, #064E3B 0%, #059669 100%) !important;
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.25) !important;
}

.brain-focus-card.completed .brain-focus-title {
  text-decoration: line-through;
  opacity: 0.88;
}

.brain-focus-card.completed .brain-focus-check-hint {
  color: #6EE7B7 !important;
  font-weight: 800;
}

.brain-focus-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.brain-focus-label-group {
  display: flex;
  align-items: center;
  gap: 5px;
}

.brain-focus-label {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #94A3B8;
}

.brain-focus-goal-pill {
  background: rgba(255, 255, 255, 0.14);
  font-size: 8px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
  color: #F1F5F9;
}

.brain-focus-check-hint {
  font-size: 8.5px;
  color: #94A3B8;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 2px;
}

.brain-focus-title {
  font-size: 13.5px;
  font-weight: 900;
  margin-bottom: 4px;
  line-height: 1.35;
  color: #FFFFFF;
}

.brain-focus-meta {
  font-size: 9.5px;
  color: #94A3B8;
  font-weight: 700;
}

/* 今日のタスク 白カード */
.brain-today-tasks-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 10px 12px;
  box-shadow: 0 4px 14px rgba(24, 29, 49, 0.04);
}

.brain-tasks-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.brain-tasks-head h4 {
  font-size: 12px;
  font-weight: 900;
  color: #1E243B;
}

.brain-tasks-head span {
  font-size: 9.5px;
  color: #64748B;
  font-weight: 700;
}

.brain-task-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 2px;
  border-bottom: 1px solid #F8FAFC;
}

.brain-task-row:last-child {
  border-bottom: none;
}

.brain-checkbox {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: #1E243B;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
  flex-shrink: 0;
}

.brain-checkbox.unchecked {
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  color: transparent;
}

.brain-task-text {
  font-size: 11px;
  font-weight: 800;
  color: #1E243B;
  line-height: 1.25;
}

.brain-task-text.done {
  color: #94A3B8;
  text-decoration: line-through;
}

.brain-task-sub {
  font-size: 9px;
  color: #64748B;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.brain-habit-tag {
  background: #EEF2FF;
  color: #4F46E5;
  font-size: 8px;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 4px;
}

.brain-task-xp {
  color: #4F46E5;
  font-weight: 900;
}

/* --- Screen 2: 成長・進化図鑑 --- */
.brain-growth-stage-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 12px 10px;
  text-align: center;
  margin-bottom: 8px;
  box-shadow: 0 4px 14px rgba(24, 29, 49, 0.04);
  position: relative;
}

.brain-growth-floating-streak {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #DC2626;
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 9999px;
}

.brain-growth-dial-lg {
  width: 100px;
  height: 100px;
  margin: 0 auto 6px;
  border-radius: 50%;
  border: 1.5px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(circle, #FFFFFF 55%, #F8FAFC 100%);
}

.brain-growth-dial-lg img {
  width: 84px;
  height: 84px;
  object-fit: contain;
  border-radius: 50%;
}

.brain-segments-bar {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 3px;
  margin-top: 6px;
}

.brain-seg {
  height: 4px;
  border-radius: 99px;
  background: #E2E8F0;
}

.brain-seg.done {
  background: #1E243B;
}

.brain-seg.current {
  background: #4F46E5;
}

.brain-dex-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 10px;
  margin-bottom: 8px;
  box-shadow: 0 4px 14px rgba(24, 29, 49, 0.04);
}

.brain-dex-header {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 900;
  margin-bottom: 6px;
}

.brain-dex-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.brain-dex-slot {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 4px 2px;
  text-align: center;
  font-size: 8px;
  font-weight: 800;
  color: #64748B;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brain-dex-slot.active {
  border: 1.5px solid #4F46E5;
  background: #EEF2FF;
  color: #4F46E5;
}

.brain-dex-thumb-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  margin-bottom: 2px;
  background: #E2E8F0;
  border: 1px solid #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brain-dex-slot.active .brain-dex-thumb-circle {
  border-color: #4F46E5;
  box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.25);
}

.brain-dex-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brain-dex-slot.locked .brain-dex-thumb-circle {
  background: #0F172A;
  border-color: #334155;
}

.brain-dex-slot.locked .brain-dex-thumb-img {
  filter: brightness(0);
  opacity: 0.25;
}

.brain-dex-lock-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
  font-size: 10px;
}

.brain-ticket-card {
  background: #FEF3C7;
  border: 1px solid #FCD34D;
  border-radius: 14px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 9.5px;
  font-weight: 800;
  color: #92400E;
}

.brain-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.brain-stat-box {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 7px 4px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(24, 29, 49, 0.03);
}

.brain-stat-num {
  font-size: 14px;
  font-weight: 900;
  color: #1E243B;
}

.brain-stat-label {
  font-size: 8.5px;
  color: #64748B;
  font-weight: 700;
}

/* --- Screen 3: タスク追加ボトムシート（実機 SmartAddTaskModal 完全準拠） --- */
.brain-sheet-backdrop {
  background: rgba(30, 36, 59, 0.35);
  border-radius: 26px;
  padding-top: 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.brain-bottom-sheet {
  background: #FFFFFF;
  border-radius: 22px 22px 16px 16px;
  padding: 12px 14px;
  box-shadow: 0 -8px 24px rgba(24, 29, 49, 0.16);
}

.brain-sheet-handle {
  width: 32px;
  height: 4px;
  background: #CBD5E1;
  border-radius: 99px;
  margin: 0 auto 10px;
}

.brain-sheet-guide {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.brain-sheet-guide img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #E2E8F0;
}

.brain-sheet-bubble {
  background: #F8FAFC;
  border-radius: 10px;
  padding: 6px 9px;
  font-size: 9.5px;
  font-weight: 700;
  color: #334155;
  line-height: 1.35;
  flex: 1;
  border: 1px solid #E2E8F0;
}

.brain-sheet-input {
  border: 1.5px solid #4F46E5;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 800;
  color: #1E243B;
  margin-bottom: 6px;
  background: #FFFFFF;
}

.brain-sheet-autoparse {
  background: #EEF2FF;
  border: 1px solid #C7D2FE;
  border-radius: 8px;
  padding: 5px 8px;
  font-size: 9px;
  color: #3730A3;
  font-weight: 700;
  margin-bottom: 8px;
}

.brain-sheet-pills-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 6px;
  overflow-x: auto;
}

.brain-sheet-sublabel {
  font-size: 8px;
  font-weight: 800;
  color: #64748B;
  margin-right: 2px;
  white-space: nowrap;
}

.brain-chip {
  font-size: 8.5px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 999px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #475569;
  white-space: nowrap;
}

.brain-chip.active {
  background: #1E243B;
  color: #FFFFFF;
  border-color: #1E243B;
}

.brain-chip.reminder {
  background: #FFF7ED;
  border-color: #FED7AA;
  color: #C2410C;
}

.brain-sheet-days-row {
  display: flex;
  gap: 3px;
  margin-bottom: 8px;
}

.brain-day-toggle {
  flex: 1;
  text-align: center;
  padding: 3px 0;
  border-radius: 6px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  font-size: 8.5px;
  font-weight: 800;
  color: #64748B;
}

.brain-day-toggle.active {
  background: #EEF2FF;
  border-color: #4F46E5;
  color: #4F46E5;
}

.brain-sheet-submit {
  width: 100%;
  background: linear-gradient(135deg, #1E243B 0%, #4F46E5 100%);
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 900;
  padding: 9px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.25);
}

/* 🌟 アプリボトムナビゲーション（実機アプリ仕様: 今日 / 予定 / 相談 / 成長 4タブ均等） */
.brain-bottom-nav {
  background: #FFFFFF;
  border-top: 1px solid #EEF1F6;
  padding: 8px 8px 12px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  text-align: center;
  position: relative;
  box-shadow: 0 -3px 12px rgba(15, 23, 42, 0.04);
}

.brain-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #94A3B8;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  padding: 3px 2px;
  border-radius: 8px;
  transition: all 0.16s ease;
  user-select: none;
}

.brain-nav-item:hover {
  color: #475569;
}

.brain-nav-item.active {
  color: #1A1F36;
  font-weight: 900;
}

.brain-nav-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
}

.brain-nav-icon svg {
  display: block;
  width: 22px;
  height: 22px;
}

.brain-nav-item.active .brain-nav-svg-outline {
  display: none !important;
}

.brain-nav-item:not(.active) .brain-nav-svg-fill {
  display: none !important;
}

/* ─── Pane: 予定（実機 ScheduleTab 準拠） ─── */
.brain-schedule-pane-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 8px;
}

.brain-schedule-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
}

.brain-schedule-pill-title {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 800;
  color: #1E243B;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.brain-btn-settings-sm {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 9999px;
  font-size: 9px;
  font-weight: 800;
  color: #475569;
  padding: 3px 8px;
  cursor: pointer;
}

/* ピル型セグメントバー（実機 ScheduleTab 準拠） */
.brain-segment-bar {
  display: flex;
  background: #E2E8F0;
  padding: 3px;
  border-radius: 9999px;
  gap: 3px;
}

.brain-segment-btn {
  flex: 1;
  border: none;
  background: transparent;
  padding: 4px 2px;
  border-radius: 9999px;
  font-size: 8.5px;
  font-weight: 800;
  color: #64748B;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
  white-space: nowrap;
}

.brain-segment-btn.active {
  background: #FFFFFF;
  color: #1E243B;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

.brain-schedule-title {
  font-size: 14.5px;
  font-weight: 900;
  color: #1E243B;
}

.brain-schedule-mini-cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  background: #FFFFFF;
  border-radius: 14px;
  padding: 8px 6px;
  border: 1px solid #EEF2F6;
  text-align: center;
}

.brain-cal-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 9px;
  color: #64748B;
  padding: 4px 0;
  border-radius: 8px;
}

.brain-cal-item strong {
  font-size: 11.5px;
  color: #1E243B;
  font-weight: 800;
}

.brain-cal-item.active {
  background: #1E243B;
  color: #FFFFFF;
}

.brain-cal-item.active strong {
  color: #FFFFFF;
}

.brain-cal-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #CBD5E1;
}

.brain-cal-item.done .brain-cal-dot {
  background: #10B981;
}

.brain-cal-item.active .brain-cal-dot {
  background: #34D399;
}

.brain-timeline-card {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 10px 12px;
  border: 1px solid #EEF2F6;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.brain-slot-header {
  font-size: 10px;
  font-weight: 800;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.02em;
}

.brain-timeline-event {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 10px;
  background: #F8FAFC;
  border-left: 3px solid #6366F1;
}

.brain-timeline-event.focus {
  background: #F5F3FF;
  border-left-color: #8B5CF6;
}

.brain-timeline-time {
  font-size: 10.5px;
  font-weight: 800;
  color: #475569;
  min-width: 36px;
}

.brain-timeline-info {
  flex: 1;
  min-width: 0;
}

.brain-timeline-name {
  font-size: 11px;
  font-weight: 800;
  color: #1E243B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brain-timeline-tag {
  display: inline-block;
  font-size: 8.5px;
  font-weight: 700;
  color: #6366F1;
  background: #EEF2FF;
  padding: 1px 5px;
  border-radius: 4px;
  margin-top: 1px;
}

.brain-timeline-status {
  font-size: 9.5px;
  font-weight: 800;
  color: #10B981;
}

/* ─── Pane / Modal: 相談（実機 CharacterChatModal 準拠） ─── */
.brain-chat-modal-layer {
  position: absolute;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s ease;
}

.brain-chat-modal-layer.open {
  pointer-events: auto;
  opacity: 1;
}

.brain-chat-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.brain-chat-modal-sheet {
  position: relative;
  background: #F8FAFC;
  border-radius: 24px 24px 0 0;
  padding: 10px 12px 14px;
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.18);
  display: flex;
  flex-direction: column;
  max-height: 90%;
  transform: translateY(100%);
  transition: transform 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}

.brain-chat-modal-layer.open .brain-chat-modal-sheet {
  transform: translateY(0);
}

.brain-chat-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 6px;
  border-bottom: 1px solid #E2E8F0;
  margin-bottom: 6px;
}

.brain-chat-close-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #E2E8F0;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  color: #475569;
  cursor: pointer;
  padding: 0;
}

.brain-chat-modal-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 900;
  color: #1E243B;
}

.brain-chat-modal-title img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

.brain-chat-limit-badge {
  background: #FEF3C7;
  border: 1px solid #FCD34D;
  color: #B45309;
  font-size: 8.5px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 9999px;
}

.brain-chat-pane-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
}

.brain-chat-pane-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 2px 8px;
  border-bottom: 1px solid #EEF2F6;
}

.brain-chat-pane-head img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #6366F1;
}

.brain-chat-pane-title {
  font-size: 12.5px;
  font-weight: 900;
  color: #1E243B;
}

.brain-chat-pane-sub {
  font-size: 9px;
  color: #64748B;
  font-weight: 600;
}

.brain-chat-flow {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 4px 0;
}

.brain-msg-ai {
  display: flex;
  gap: 6px;
  align-items: flex-start;
}

.brain-msg-ai img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  margin-top: 2px;
}

.brain-msg-ai-bubble {
  background: #FFFFFF;
  border: 1px solid #EEF2F6;
  border-radius: 12px 12px 12px 2px;
  padding: 7px 10px;
  font-size: 10.5px;
  line-height: 1.45;
  color: #1E243B;
  max-width: 82%;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.brain-msg-user {
  display: flex;
  justify-content: flex-end;
}

.brain-msg-user-bubble {
  background: linear-gradient(135deg, #1E243B 0%, #4F46E5 100%);
  color: #FFFFFF;
  border-radius: 12px 12px 2px 12px;
  padding: 7px 10px;
  font-size: 10.5px;
  line-height: 1.45;
  max-width: 78%;
  font-weight: 500;
}

.brain-chat-quick-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 2px;
}

.brain-chat-quick-chip {
  background: #EEF2FF;
  border: 1px solid #C7D2FE;
  color: #4F46E5;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.brain-chat-quick-chip:hover {
  background: #E0E7FF;
}

.brain-chat-bottom-input {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 9999px;
  padding: 4px 6px 4px 12px;
  margin-top: 4px;
}

.brain-chat-input-placeholder {
  font-size: 10px;
  color: #94A3B8;
  flex: 1;
}

.brain-chat-send-btn {
  background: #6366F1;
  color: #FFFFFF;
  font-size: 9px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
}

/* --------------------------------------------------
   Section Base
-------------------------------------------------- */
.section {
  padding: 88px 0;
}

.bg-subtle {
  background-color: var(--bg-subtle);
}

.bg-galaxy {
  background: linear-gradient(180deg, #131629 0%, #1E1B4B 55%, #252C48 100%);
  color: #FFFFFF;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: #BE185D;
  background: #FDF2F8;
  border: 1px solid #FBCFE8;
  padding: 4px 14px;
  border-radius: 9999px;
  margin-bottom: 14px;
}

.section-tag.galaxy {
  color: #F9A8D4;
  background: rgba(244, 114, 182, 0.14);
  border-color: rgba(244, 114, 182, 0.35);
}

.section-title {
  font-size: 32px;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.38;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.bg-galaxy .section-title {
  color: #FFFFFF;
}

/* --------------------------------------------------
   Interactive Tsundere Praise & Weak-talk Demo
-------------------------------------------------- */
.demo-showcase-box {
  background: linear-gradient(160deg, #FFFFFF 0%, #FDF2F8 55%, #EEF2FF 100%);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  border: 1.5px solid #FBCFE8;
  box-shadow: var(--shadow-lg);
  margin-bottom: 24px;
}

.demo-interactive-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: center;
  margin-top: 24px;
}

.demo-task-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.demo-task-btn {
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-radius: 18px;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.demo-task-btn:hover {
  border-color: var(--pink-main);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(224, 122, 144, 0.15);
}

.demo-task-btn.active {
  border-color: var(--navy-main);
  background: #F8FAFC;
  box-shadow: 0 6px 18px rgba(37, 44, 72, 0.12);
}

.demo-task-cat {
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  background: #EEF2FF;
  color: #4F46E5;
  display: inline-block;
  margin-bottom: 4px;
}

.demo-task-cat.weak {
  background: #FDF2F8;
  color: #BE185D;
}

.demo-task-name {
  font-size: 14.5px;
  font-weight: 900;
  color: var(--text-main);
  display: block;
}

.demo-check-pill {
  background: var(--navy-main);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  flex-shrink: 0;
}

/* ブレーン君ポップアップ表示カード */
.demo-popup-card {
  background: var(--navy-main);
  color: #FFFFFF;
  border-radius: 24px;
  padding: 28px 24px;
  position: relative;
  box-shadow: 0 18px 40px rgba(24, 29, 49, 0.28);
  border: 1.5px solid rgba(249, 168, 212, 0.35);
}

.demo-popup-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.demo-popup-avatar-wrap {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: #FFFFFF;
  padding: 4px;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 6px 16px rgba(236, 72, 153, 0.3);
}

.demo-popup-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.demo-exp-badge {
  display: inline-block;
  background: linear-gradient(135deg, #F472B6 0%, #8B5CF6 100%);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 4px;
}

.demo-popup-charname {
  font-size: 16px;
  font-weight: 900;
  color: #FFFFFF;
}

.demo-popup-pokerface {
  font-size: 11.5px;
  color: #CBD5E1;
}

.demo-popup-speech {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 18px 20px;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.75;
  color: #FFFFFF;
  margin-bottom: 14px;
}

/* --------------------------------------------------
   4 Core Features Grid
-------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  border: 1.5px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--pink-border);
}

.feature-num-badge {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 12px;
  font-weight: 900;
  color: #9D174D;
  background: #FDF2F8;
  border: 1px solid #FBCFE8;
  padding: 3px 10px;
  border-radius: 999px;
}

.feature-icon-wrapper {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, #FDF2F8 0%, #EEF2FF 100%);
  border: 1.5px solid #FBCFE8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.feature-card-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.4;
}

.feature-card-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.78;
  margin-bottom: 16px;
  flex: 1;
}

.feature-example-box {
  background: #F8FAFC;
  border-left: 3.5px solid var(--pink-main);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.6;
}

/* --------------------------------------------------
   3Screens Real UI Preview Strip
-------------------------------------------------- */
.screens-showcase-card {
  margin-top: 44px;
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 32px;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.screens-showcase-img {
  width: 100%;
  max-width: 920px;
  border-radius: 20px;
  display: block;
  margin: 20px auto 0;
  box-shadow: 0 12px 32px rgba(24, 29, 49, 0.1);
}

/* --------------------------------------------------
   10-Stage Evolution Encyclopedia / Timeline (Compact Flow with Before/After Silhouettes)
-------------------------------------------------- */
.evo-section-compact {
  padding: 56px 0;
}

.evo-flow-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr 1fr 1fr 1fr auto 1fr;
  gap: 10px;
  align-items: stretch;
}

.evo-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(249, 168, 212, 0.7);
  font-size: 16px;
  font-weight: 900;
  padding: 0 2px;
  user-select: none;
}

.evo-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(249, 168, 212, 0.28);
  border-radius: 18px;
  padding: 12px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.evo-card:hover {
  transform: translateY(-3px);
  border-color: #F472B6;
  box-shadow: 0 10px 24px rgba(236, 72, 153, 0.2);
}

/* 前後シルエット（陰）カード */
.evo-card.evo-shadow-card {
  background: rgba(15, 23, 42, 0.55);
  border: 1.5px dashed rgba(148, 163, 184, 0.35);
  opacity: 0.92;
}

.evo-card.evo-shadow-card.final-shadow {
  border-color: rgba(251, 191, 36, 0.45);
  background: linear-gradient(180deg, rgba(49, 46, 129, 0.45) 0%, rgba(15, 23, 42, 0.65) 100%);
}

.evo-shadow-thumbs {
  width: 82px;
  height: 82px;
  border-radius: 16px;
  background: radial-gradient(circle, #252C48 0%, #0F172A 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 5px;
  margin-bottom: 8px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 3px;
  position: relative;
  overflow: hidden;
}

.evo-shadow-thumbs.pair {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr;
  align-items: center;
  border-color: rgba(251, 191, 36, 0.35);
}

.evo-shadow-mini {
  background: rgba(15, 23, 42, 0.7);
  border-radius: 6px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.evo-shadow-mini img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  /* キャラクターを黒〜紺の陰（シルエット）に変換 */
  filter: brightness(0) invert(0.14) sepia(0.4) hue-rotate(205deg) saturate(2.5) drop-shadow(0 0 3px rgba(244, 114, 182, 0.35));
  opacity: 0.85;
  user-select: none;
  pointer-events: none;
}

.evo-card.final-shadow .evo-shadow-mini img {
  filter: brightness(0) invert(0.16) sepia(0.7) hue-rotate(235deg) saturate(3) drop-shadow(0 0 4px rgba(251, 191, 36, 0.5));
}

.evo-shadow-mini span {
  position: absolute;
  bottom: 1px;
  right: 3px;
  font-size: 8px;
  font-weight: 900;
  color: rgba(203, 213, 225, 0.75);
  line-height: 1;
}

.evo-shadow-q {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.88);
  border: 1.5px solid #FBBF24;
  color: #FDE68A;
  font-size: 12px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.4);
}

.evo-top-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}

.evo-stage-num {
  font-size: 10px;
  font-weight: 900;
  color: #CBD5E1;
  background: rgba(15, 23, 42, 0.6);
  padding: 2px 6px;
  border-radius: 5px;
  white-space: nowrap;
}

.evo-plan-badge {
  font-size: 9px;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 999px;
  white-space: nowrap;
}

.evo-plan-badge.free {
  background: rgba(16, 185, 129, 0.22);
  color: #6EE7B7;
  border: 1px solid rgba(16, 185, 129, 0.45);
}

.evo-plan-badge.premium {
  background: rgba(244, 114, 182, 0.2);
  color: #F9A8D4;
  border: 1px solid rgba(244, 114, 182, 0.4);
}

.evo-plan-badge.secret {
  background: rgba(245, 158, 11, 0.2);
  color: #FDE68A;
  border: 1px solid rgba(251, 191, 36, 0.45);
}

.evo-img-wrap {
  width: 82px;
  height: 82px;
  border-radius: 16px;
  background: #FFFFFF;
  padding: 5px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.evo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.evo-card:hover .evo-img {
  transform: scale(1.06);
}

.evo-name {
  font-size: 13px;
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.evo-days {
  font-size: 10.5px;
  font-weight: 800;
  color: #F9A8D4;
  margin-bottom: 3px;
}

.evo-desc {
  font-size: 10.5px;
  color: #CBD5E1;
  line-height: 1.35;
}

/* 動画プレビューバー */
.evo-video-spotlight {
  margin-top: 36px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(249, 168, 212, 0.35);
  border-radius: 24px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.evo-video-pair {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.evo-video-box {
  text-align: center;
}

.evo-video-box video {
  width: 136px;
  height: 136px;
  object-fit: cover;
  border-radius: 22px;
  background: #FFFFFF;
  border: 2px solid #F472B6;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.evo-video-box span {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  color: #F9A8D4;
  margin-top: 6px;
}

/* --------------------------------------------------
   Pricing Section (Free vs Premium Table & Cards)
-------------------------------------------------- */
.pricing-lead-banner {
  max-width: 760px;
  margin: 0 auto 36px;
  background: linear-gradient(135deg, #FDF2F8 0%, #EEF2FF 100%);
  border: 2px solid #FBCFE8;
  border-radius: 22px;
  padding: 20px 26px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.pricing-lead-banner h3 {
  font-size: 18px;
  font-weight: 900;
  color: #9D174D;
  margin-bottom: 4px;
}

.pricing-lead-banner p {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  max-width: 880px;
  margin: 0 auto 40px;
}

.pricing-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 38px 32px;
  border: 1.5px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.pricing-card.recommended {
  border-color: var(--purple-deep);
  border-width: 2.5px;
  box-shadow: var(--shadow-galaxy);
  background: linear-gradient(180deg, #FFFFFF 0%, #FDF2F8 55%, #EEF2FF 100%);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-galaxy);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 900;
  padding: 5px 18px;
  border-radius: 9999px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.plan-name {
  font-size: 20px;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 4px;
}

.plan-desc {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 18px;
}

.plan-price {
  font-size: 40px;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 22px;
  line-height: 1.1;
}

.plan-price span {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-muted);
}

.plan-features {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-main);
  margin-bottom: 13px;
  line-height: 1.5;
}

.plan-feature-item .feat-icon {
  font-size: 14px;
  font-weight: 900;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.icon-ok { color: #EC4899; }
.icon-limited { color: #4F46E5; }

.badge-limit {
  font-size: 11px;
  font-weight: 800;
  color: #4338CA;
  background: #EEF2FF;
  padding: 1px 7px;
  border-radius: 5px;
  display: inline-block;
}

.badge-unlimited {
  font-size: 11px;
  font-weight: 800;
  color: #9D174D;
  background: #FCE7F3;
  padding: 1px 7px;
  border-radius: 5px;
  display: inline-block;
}

.plan-btn {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: 9999px;
  font-size: 14.5px;
  font-weight: 800;
  transition: all 0.2s ease;
}

.plan-btn.primary {
  background: var(--gradient-galaxy);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.3);
}

.plan-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(236, 72, 153, 0.4);
}

.plan-btn.outline {
  background: var(--navy-main);
  color: #FFFFFF;
}

.plan-btn.outline:hover {
  background: var(--navy-deep);
  transform: translateY(-2px);
}

/* 機能比較テーブル */
.comparison-table-wrap {
  max-width: 880px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: 22px;
  border: 1.5px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.plan-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.plan-compare-table th,
.plan-compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  line-height: 1.55;
}

.plan-compare-table thead th {
  background: var(--navy-main);
  color: #FFFFFF;
  font-weight: 900;
  font-size: 14px;
}

.plan-compare-table thead th.col-premium {
  background: linear-gradient(135deg, #4F46E5 0%, #EC4899 100%);
}

.plan-compare-table tbody th {
  background: #F8FAFC;
  font-weight: 800;
  color: var(--text-main);
  width: 28%;
}

.plan-compare-table td.col-premium-cell {
  background: #FDF2F8;
  font-weight: 800;
  color: #831843;
}

/* --------------------------------------------------
   FAQ Accordion
-------------------------------------------------- */
.faq-list {
  max-width: 740px;
  margin: 0 auto;
}

.faq-item-accordion {
  background: #FFFFFF;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-summary {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  padding: 18px 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  user-select: none;
}

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

.faq-icon-arrow {
  font-size: 12px;
  color: var(--pink-bright);
  transition: transform 0.2s ease;
}

.faq-item-accordion[open] {
  border-color: var(--pink-border);
  box-shadow: 0 4px 16px rgba(236, 72, 153, 0.08);
}

.faq-item-accordion[open] .faq-icon-arrow {
  transform: rotate(180deg);
}

.faq-body {
  padding: 0 22px 18px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* --------------------------------------------------
   Contact Section
-------------------------------------------------- */
.contact-card {
  max-width: 640px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.contact-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 28px;
}

.contact-btn-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-contact-line,
.btn-contact-mail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 15px;
  transition: all 0.2s ease;
  min-width: 240px;
}

.btn-contact-line {
  background: #06C755;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(6, 199, 85, 0.28);
}

.btn-contact-line:hover {
  background: #05b04a;
  transform: translateY(-2px);
}

.btn-contact-mail {
  background: #FFFFFF;
  color: var(--navy-main);
  border: 2px solid var(--navy-main);
}

.btn-contact-mail:hover {
  background: var(--purple-light);
  transform: translateY(-2px);
}

/* --------------------------------------------------
   Footer
-------------------------------------------------- */
.footer {
  background: var(--navy-deep);
  color: #94A3B8;
  padding: 48px 0 32px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-galaxy);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-logo {
  font-size: 18px;
  font-weight: 900;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo-img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-desc {
  font-size: 12.5px;
  line-height: 1.6;
  color: #94A3B8;
  max-width: 400px;
}

.footer-copy {
  font-size: 12px;
  color: #64748B;
  margin-top: 4px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  justify-content: flex-end;
  max-width: 560px;
}

.footer-nav-link {
  font-size: 13px;
  color: #94A3B8;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.footer-nav-link:hover {
  color: var(--pink-pastel);
}

/* --------------------------------------------------
   Mobile Floating CTA
-------------------------------------------------- */
.mobile-floating-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(246, 247, 251, 0.94);
  backdrop-filter: blur(12px);
  padding: 10px 16px;
  border-top: 1px solid var(--border);
  z-index: 99;
}

.mobile-floating-cta-inner {
  max-width: 480px;
  margin: 0 auto;
}

/* --------------------------------------------------
   Legal & Policy Pages
-------------------------------------------------- */
.legal-page {
  padding: 60px 0 80px;
  background-color: var(--bg-subtle);
  min-height: calc(100vh - 200px);
}

.legal-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 42px;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
}

.legal-card h1 {
  font-size: 24px;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 8px;
}

.legal-updated {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

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

.legal-section h2 {
  font-size: 16px;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 10px;
  padding-left: 10px;
  border-left: 3.5px solid var(--pink-main);
}

.legal-section p,
.legal-section li {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 8px;
}

.legal-section ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  font-size: 13.5px;
}

.legal-table th,
.legal-table td {
  padding: 13px 15px;
  border: 1px solid var(--border);
  text-align: left;
  line-height: 1.65;
}

.legal-table th {
  background-color: var(--bg-subtle);
  width: 28%;
  font-weight: 800;
  color: var(--text-main);
  vertical-align: top;
}

.legal-table td {
  color: var(--text-secondary);
}

/* --------------------------------------------------
   Responsive
-------------------------------------------------- */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-target-tags,
  .hero-cta-group {
    justify-content: center;
  }
  .hero-feature-checklist {
    align-items: flex-start;
    display: inline-flex;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }
  .evo-flow-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .evo-flow-arrow {
    display: none;
  }
  .demo-interactive-grid,
  .evo-video-spotlight {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero-title {
    font-size: 31px;
  }
  .features-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
  .footer-info {
    align-items: center;
  }
  .footer-nav {
    justify-content: center;
  }
  .mobile-floating-cta {
    display: block;
  }
  body {
    padding-bottom: 64px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }
  .hero {
    padding: 24px 0 46px;
  }
  .hero-badge {
    font-size: 11px;
    padding: 5px 12px;
    max-width: 100%;
    line-height: 1.4;
    margin-bottom: 12px;
    box-sizing: border-box;
    white-space: nowrap;
  }
  .hero-title {
    font-size: clamp(18px, 5.2vw, 22.5px);
    line-height: 1.4;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
  }
  .hero-title-line {
    display: block;
    white-space: nowrap;
  }
  .hero-desc {
    font-size: 12.5px;
    line-height: 1.6;
    margin-bottom: 16px;
  }
  .hero-target-tags {
    gap: 6px;
    margin-bottom: 18px;
    padding: 0 2px;
    max-width: 330px;
    margin-left: auto;
    margin-right: auto;
  }
  .target-pill {
    font-size: 10px;
    font-weight: 700;
    padding: 3.5px 8.5px;
  }
  .hero-feature-checklist {
    gap: 7px;
    margin-bottom: 22px;
    width: fit-content;
    max-width: 330px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    display: inline-flex;
    align-items: flex-start;
  }
  .hero-feature-checklist li {
    font-size: 12px;
    line-height: 1.4;
    gap: 7px;
    text-align: left;
    white-space: nowrap;
  }
  .hero-feature-checklist .check-icon {
    width: 17px;
    height: 17px;
    font-size: 9.5px;
    margin-top: 1px;
  }
  .section-title {
    font-size: clamp(20px, 5.5vw, 25px);
    line-height: 1.4;
  }
  .habit-concept-title {
    font-size: 18px;
    line-height: 1.4;
  }
  .evo-flow-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .floating-brain-badge,
  .floating-galaxy-badge {
    display: none;
  }
  .phone-frame {
    width: 100%;
    max-width: 330px;
  }
  .demo-showcase-box {
    padding: 24px 18px;
  }
  .legal-card {
    padding: 24px 16px;
  }
  .legal-table th,
  .legal-table td {
    display: block;
    width: 100%;
  }
  .plan-compare-table th,
  .plan-compare-table td {
    padding: 12px 10px;
    font-size: 12.5px;
  }
}

/* ==========================================================================
   習慣化サポート コンセプトバナー & VS比較グリッド
   ========================================================================== */
.habit-concept-banner {
  background: linear-gradient(135deg, #FFFFFF 0%, #FAF5FF 60%, #FDF2F8 100%);
  border: 1.5px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  margin-bottom: 48px;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.06);
  text-align: center;
}

.habit-concept-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #EEF2FF;
  color: #4F46E5;
  font-size: 13px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 9999px;
  border: 1px solid rgba(99, 102, 241, 0.25);
  margin-bottom: 16px;
}

.habit-concept-title {
  font-size: 23px;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.45;
  margin-bottom: 14px;
}

.habit-concept-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 820px;
  margin: 0 auto 28px;
}

.habit-vs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
  text-align: left;
}

.habit-vs-card {
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: #FFFFFF;
}

.habit-vs-card.vs-todo {
  border: 1px solid #E2E8F0;
  background: #F8FAFC;
}

.habit-vs-card.vs-brain {
  border: 2px solid #8B5CF6;
  background: #FFFFFF;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.12);
  position: relative;
}

.habit-vs-card.vs-brain::after {
  content: 'BEST CHOICE';
  position: absolute;
  top: -11px;
  right: 18px;
  background: linear-gradient(135deg, #6366F1, #EC4899);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 9999px;
  letter-spacing: 0.5px;
}

.habit-vs-head {
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.habit-vs-card.vs-todo .habit-vs-head {
  color: #64748B;
}

.habit-vs-card.vs-brain .habit-vs-head {
  color: #6366F1;
}

.habit-vs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.habit-vs-list li {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.habit-vs-card.vs-brain .habit-vs-list li {
  color: var(--text-main);
  font-weight: 600;
}

@media (max-width: 768px) {
  .habit-concept-banner {
    padding: 28px 18px;
  }
  .habit-concept-title {
    font-size: 19px;
  }
  .habit-vs-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   4-Screens App Interface Showcase (Interactive Mockup Grid)
   ========================================================================== */
.screens-showcase-card {
  margin-top: 48px;
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  border: 1.5px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  text-align: center;
}

.app-screens-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
  text-align: left;
}

.screen-preview-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.screen-preview-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(79, 70, 229, 0.09);
  border-color: #CBD5E1;
}

.screen-preview-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.preview-badge-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #EEF2FF;
  color: #4F46E5;
  font-size: 11px;
  font-weight: 900;
}

.preview-badge-name {
  font-size: 15px;
  font-weight: 800;
  color: #1E293B;
}

.preview-badge-tag {
  font-size: 9.5px;
  font-weight: 800;
  color: #64748B;
  background: #F1F5F9;
  padding: 2px 6px;
  border-radius: 6px;
  margin-left: auto;
  letter-spacing: 0.5px;
}

/* ミニスマホフレーム */
.screen-preview-phone {
  background: #F8FAFC;
  border: 1.5px solid #CBD5E1;
  border-radius: 14px;
  padding: 10px 10px 12px;
  height: 380px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.03);
}

.mini-phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  font-weight: 700;
  color: #94A3B8;
  margin-bottom: 8px;
  padding: 0 2px;
}

.mini-phone-header {
  margin-bottom: 8px;
}

.mini-badge-premium {
  display: inline-block;
  font-size: 8.5px;
  font-weight: 800;
  background: #FEF3C7;
  color: #92400E;
  padding: 1px 5px;
  border-radius: 4px;
  margin-bottom: 2px;
}

.mini-greeting {
  font-size: 12px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.2;
}

/* 今日のキャラカード */
.mini-brain-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 8px;
  margin-bottom: 8px;
  position: relative;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.mini-streak-tag {
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 8.5px;
  font-weight: 800;
  color: #EA580C;
  background: #FFF7ED;
  padding: 1px 5px;
  border-radius: 4px;
}

.mini-brain-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mini-brain-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #4F46E5;
  background: #EEF2FF;
  flex-shrink: 0;
}

.mini-brain-name {
  font-size: 11px;
  font-weight: 800;
  color: #1E293B;
  line-height: 1.2;
}

.mini-brain-sub {
  font-size: 9px;
  color: #64748B;
  margin-bottom: 3px;
}

.mini-progress-bar {
  width: 90px;
  height: 4px;
  background: #E2E8F0;
  border-radius: 99px;
  overflow: hidden;
}

.mini-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #4F46E5, #06B6D4);
  border-radius: 99px;
}

/* 週間ストリップ */
.mini-week-strip {
  display: flex;
  justify-content: space-between;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 4px 6px;
  margin-bottom: 8px;
}

.mini-day {
  font-size: 8px;
  font-weight: 700;
  color: #94A3B8;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mini-day.done {
  color: #EA580C;
  font-weight: 800;
}

.mini-day.rest {
  color: #0284C7;
}

.mini-day.today {
  color: #4F46E5;
  font-weight: 900;
}

/* 今日のタスク一覧 */
.mini-task-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mini-task-item {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 10px;
  font-weight: 700;
  color: #1E293B;
}

.mini-task-item.done {
  background: #F8FAFC;
  color: #94A3B8;
  text-decoration: line-through;
}

.mini-chk {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 900;
  flex-shrink: 0;
}

.mini-task-item.done .mini-chk {
  background: #10B981;
  color: #FFFFFF;
}

.mini-task-item:not(.done) .mini-chk {
  border: 1.5px solid #CBD5E1;
  color: transparent;
}

.mini-task-txt {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 予定画面: 3タブ & スケジュール */
.mini-segment-tabs {
  display: flex;
  background: #E2E8F0;
  border-radius: 7px;
  padding: 2px;
  gap: 2px;
  margin-bottom: 8px;
}

.mini-tab {
  flex: 1;
  text-align: center;
  font-size: 8.5px;
  font-weight: 700;
  color: #64748B;
  padding: 3px 0;
  border-radius: 5px;
}

.mini-tab.active {
  background: #FFFFFF;
  color: #4F46E5;
  font-weight: 800;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.mini-schedule-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mini-schedule-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 7px 8px;
}

.mini-sch-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 8.5px;
  color: #64748B;
  margin-bottom: 2px;
}

.mini-sch-rep {
  font-weight: 800;
  color: #4F46E5;
}

.mini-sch-time {
  font-weight: 700;
  color: #0F172A;
}

.mini-sch-title {
  font-size: 10px;
  font-weight: 800;
  color: #1E293B;
  margin-bottom: 4px;
}

.mini-sch-tags {
  display: flex;
  gap: 4px;
}

.mini-tag {
  font-size: 7.5px;
  font-weight: 700;
  color: #475569;
  background: #F1F5F9;
  padding: 1px 4px;
  border-radius: 4px;
}

.mini-tag.reminder {
  color: #EA580C;
  background: #FFF7ED;
}

/* 相談画面: チャット */
.mini-chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 6px;
  border-bottom: 1px solid #E2E8F0;
  margin-bottom: 8px;
}

.mini-chat-title {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 800;
  color: #1E293B;
}

.mini-chat-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #4F46E5;
}

.mini-chat-badge {
  font-size: 7.5px;
  font-weight: 800;
  color: #0284C7;
  background: #E0F2FE;
  padding: 1px 5px;
  border-radius: 4px;
}

.mini-chat-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.mini-msg {
  display: flex;
}

.mini-msg.ai {
  justify-content: flex-start;
}

.mini-msg.user {
  justify-content: flex-end;
}

.mini-bubble {
  max-width: 86%;
  font-size: 9px;
  line-height: 1.35;
  padding: 5px 7px;
  border-radius: 8px;
}

.mini-bubble.ai {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  color: #1E293B;
  border-top-left-radius: 2px;
}

.mini-bubble.user {
  background: #4F46E5;
  color: #FFFFFF;
  border-top-right-radius: 2px;
}

.mini-chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}

.mini-chat-chips span {
  font-size: 7.5px;
  font-weight: 700;
  color: #4F46E5;
  background: #EEF2FF;
  padding: 2px 5px;
  border-radius: 5px;
}

/* 成長画面: ミニ図鑑 & 統計 */
.mini-growth-hero {
  text-align: center;
  margin-bottom: 6px;
}

.mini-growth-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #4F46E5;
  background: #EEF2FF;
  margin: 0 auto 3px;
  display: block;
}

.mini-growth-title {
  font-size: 10.5px;
  font-weight: 800;
  color: #1E293B;
  line-height: 1.2;
}

.mini-growth-next {
  font-size: 8px;
  color: #64748B;
  font-weight: 700;
}

.mini-dex-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 5px;
  margin-bottom: 6px;
}

.mini-dex-slot {
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-dex-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-dex-slot.done img {
  filter: none;
}

.mini-dex-slot.active {
  box-shadow: 0 0 0 1.5px #4F46E5;
}

.mini-dex-slot.locked {
  background: #0F172A;
  color: #64748B;
  font-size: 8px;
}

.mini-stats-strip {
  display: flex;
  justify-content: space-around;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 4px 2px;
  font-size: 8.5px;
  font-weight: 800;
  color: #0F172A;
  text-align: center;
}

.mini-stats-strip span {
  display: block;
  font-size: 7px;
  font-weight: 700;
  color: #64748B;
}

/* カード下部の解説テキスト */
.screen-preview-desc {
  margin-top: 12px;
  padding-top: 4px;
}

.screen-preview-desc h4 {
  font-size: 13.5px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 4px;
  line-height: 1.3;
}

.screen-preview-desc p {
  font-size: 11.5px;
  color: #64748B;
  line-height: 1.45;
  margin: 0;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
  .app-screens-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .screens-showcase-card {
    padding: 24px 16px;
  }
  .app-screens-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 12px;
    -webkit-overflow-scrolling: touch;
  }
  .screen-preview-card {
    min-width: 260px;
    flex-shrink: 0;
    scroll-snap-align: start;
  }
}
