/* ============================================
   Threads AI Growth LP
   依存: style.css → moderation.css → threads-growth.css
   カラーテーマ: ネイビー（管理画面グラデ）× IGグラデアクセント
   ============================================ */

/* アクセントカラー変数 */
:root {
  --tg-ig-red:    #F9435A;
  --tg-ig-pink:   #E1306C;
  --tg-ig-purple: #833AB4;
  --tg-ig-blue:   #5B51D8;
  --tg-ig-grad:   linear-gradient(135deg, #F9435A 0%, #E1306C 25%, #833AB4 65%, #5B51D8 100%);
  --tg-navy-1:    #0a0e27;
  --tg-navy-2:    #0f1535;
  --tg-navy-3:    #070b1a;
  --tg-ig-bg:     rgba(131, 58, 180, .10);
  --tg-ig-bdr:    rgba(131, 58, 180, .28);
}

/* スマホのみ改行 */
.sp-br { display: none; }
@media (max-width: 767px) {
  .sp-br { display: block; }
}

/* カード・リスト・表の中身は常に左揃え */
.m-pain-card,
.m-detect-list,
.m-detect-item,
.m-plan-feats,
.m-faq-item,
.tg-diff-table,
.m-more-card {
  text-align: left;
}

/* ────────────────────────────────
   HERO: ネイビー + IGグロー
──────────────────────────────── */
@keyframes tgNavyFlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.tg-hero.m-hero {
  background: linear-gradient(135deg, #070b1a 0%, #0a0e27 35%, #0f1535 65%, #070b1a 100%);
  background-size: 300% 300%;
  animation: tgNavyFlow 12s ease infinite;
}

.tg-hero.m-hero::before {
  background: radial-gradient(circle at 60% 30%, rgba(225, 48, 108, .22) 0%, transparent 55%);
}

.tg-hero.m-hero::after {
  background: radial-gradient(circle at 25% 75%, rgba(131, 58, 180, .14) 0%, transparent 50%);
}

/* kicker dot: IGピンク */
.tg-kicker-dot {
  background: var(--tg-ig-grad) !important;
  box-shadow: 0 0 8px rgba(225, 48, 108, .5);
}

/* H1: Bebas Neue は全大文字になるため Barlow に切り替え */
.tg-h1 {
  font-family: 'Barlow', 'Noto Sans JP', sans-serif !important;
  font-size: clamp(52px, 9vw, 100px) !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
  letter-spacing: -.03em !important;
  text-transform: none !important;
}

/* h1 サブテキスト（スレッズ）: 小さく */
.tg-h1-sub {
  font-size: .38em;
  font-weight: 400;
  color: #fff;
  opacity: 1;
  letter-spacing: -.04em;
  font-feature-settings: "palt" 1;
  vertical-align: middle;
}

/* h1 em: IGグラデシマー */
.tg-h1 em {
  background: linear-gradient(90deg, #F9435A, #E1306C, #833AB4, #5B51D8, #E1306C, #F9435A);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  animation: tgIGShimmer 5s linear infinite;
}

@keyframes tgIGShimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 300% center; }
}

/* Hero CTAボタン */
.tg-btn-solid {
  background: var(--tg-ig-grad) !important;
  background-size: 200% auto !important;
  color: #fff !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 28px rgba(225, 48, 108, .38) !important;
  transition: background-position .4s ease, box-shadow .3s ease !important;
}

.tg-btn-solid:hover {
  background-position: right center !important;
  box-shadow: 0 6px 36px rgba(131, 58, 180, .5) !important;
}

/* ────────────────────────────────
   BENEFITS: 4項目 交互レイアウト
──────────────────────────────── */
.tg-benefits {
  padding: 120px 40px;
  background: #fff;
}

.tg-benefits-inner {
  max-width: 1040px;
  margin: 0 auto;
}

.tg-benefits-heading {
  text-align: center;
  margin-bottom: 80px;
}

.tg-benefits-heading em {
  background: var(--tg-ig-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: normal;
}

.tg-benefit-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 100px;
}

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

/* 偶数番目: テキスト左・画像右 */
.tg-benefit-item:nth-child(even) .tg-benefit-media { order: 2; }
.tg-benefit-item:nth-child(even) .tg-benefit-text  { order: 1; }

.tg-benefit-media img {
  width: 100%;
  border-radius: 20px;
  display: block;
  object-fit: cover;
}

.tg-benefit-placeholder {
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  background: #f4f2ff;
  border: 2px dashed rgba(131, 58, 180, .2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(131, 58, 180, .35);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
}

.tg-benefit-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 80px;
  line-height: 1;
  background: var(--tg-ig-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: .25;
  margin-bottom: 4px;
}

.tg-benefit-statement {
  font-size: 44px;
  font-weight: 900;
  color: #0a0a0a;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}

.tg-benefit-sub {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin: 0;
}

@media (max-width: 860px) {
  .tg-benefit-item {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 72px;
  }
  .tg-benefit-item:nth-child(even) .tg-benefit-media { order: 0; }
  .tg-benefit-item:nth-child(even) .tg-benefit-text  { order: 0; }
  .tg-benefit-statement { font-size: 34px; }
}

@media (max-width: 640px) {
  .tg-benefits { padding: 80px 20px; }
  .tg-benefit-num { font-size: 60px; }
  .tg-benefit-statement { font-size: 28px; }
}

/* ────────────────────────────────
   PAIN: 2カラム
──────────────────────────────── */
.m-pain-grid {
  grid-template-columns: repeat(2, 1fr);
}

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

/* ────────────────────────────────
   SOLUTION: 差別化テーブル
──────────────────────────────── */
.tg-solution {
  background: none;
  padding: 100px 40px 64px;
}

.tg-solution .m-solution-inner {
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
}

.tg-solution .m-sec-sub {
  text-align: left;
  line-height: 2;
}

.tg-h2-sub-line {
  font-size: 0.72em;
  font-weight: 400;
  opacity: 0.55;
  letter-spacing: 0.01em;
}

.tg-solution-img {
  margin: 0 0 40px;
}

.tg-solution-img img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 12px 60px rgba(0,0,0,.14);
  display: block;
}

.tg-solution-img video {
  width: 100%;
  display: block;
}

.tg-steps-img {
  width: 100%;
  border-radius: 16px;
  display: block;
  margin: 40px 0 56px;
  box-shadow: 0 8px 40px rgba(0,0,0,.1);
}

.tg-solution-img-placeholder {
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  background: #f4f2ff;
  border: 2px dashed rgba(131, 58, 180, .2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(131, 58, 180, .35);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
}

.tg-diff-table {
  margin-top: 40px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,.12);
}

.tg-diff-head {
  display: grid;
  grid-template-columns: 140px 1fr 1fr;
  background: #0a0e27;
}

.tg-diff-head-label { padding: 16px; }

.tg-diff-head-bad {
  padding: 16px 20px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.4);
  text-align: center;
  letter-spacing: .04em;
}

.tg-diff-head-good {
  padding: 16px 20px;
  font-size: 12px;
  font-weight: 700;
  color: #E1306C;
  text-align: center;
  letter-spacing: .04em;
  border-top: 2px solid var(--tg-ig-pink);
  background: rgba(225, 48, 108, .06);
}

.tg-diff-row {
  display: grid;
  grid-template-columns: 140px 1fr 1fr;
  background: #fff;
  border-bottom: 1px solid #ede8f5;
}

.tg-diff-row:last-child { border-bottom: none; }

.tg-diff-tag {
  padding: 18px 16px;
  font-size: 11px;
  font-weight: 700;
  color: #666;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: #f9f7ff;
  display: flex;
  align-items: center;
}

.tg-diff-bad {
  padding: 18px 20px;
  font-size: 13.5px;
  color: #aaa;
  display: flex;
  align-items: center;
}

.tg-diff-good {
  padding: 18px 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: #111;
  display: flex;
  align-items: center;
  background: rgba(225, 48, 108, .03);
}

.tg-diff-good--em {
  background: var(--tg-ig-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

@media (max-width: 640px) {
  /* ── 比較表: モバイルは縦積みカード表示 ── */
  .tg-diff-head { display: none; }

  .tg-diff-row {
    display: block;
    padding: 14px 16px 12px;
  }

  .tg-diff-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.35);
    padding: 0 0 8px;
    border-right: none;
  }

  .tg-diff-bad,
  .tg-diff-good {
    display: block;
    font-size: 13px;
    padding: 6px 0 6px 22px;
    border-left: none;
    position: relative;
  }

  .tg-diff-bad {
    color: rgba(0, 0, 0, 0.38);
  }
  .tg-diff-bad::before {
    content: '✕';
    position: absolute;
    left: 0;
    color: #ccc;
  }

  .tg-diff-good::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #22c55e;
  }

  /* ── SOLUTIONセクション: モバイルパディング削減 ── */
  .tg-solution { padding: 60px 20px 48px; }
}

/* ────────────────────────────────
   IG KNOWLEDGE BRIDGE セクション
──────────────────────────────── */
.tg-ig-bridge {
  padding: 100px 40px;
  background: linear-gradient(160deg, #070b1a 0%, #0a0e27 50%, #070b1a 100%);
  text-align: center;
}

.tg-ig-bridge-inner {
  max-width: 1040px;
  margin: 0 auto;
}

.tg-ig-bridge .m-sec-label {
  color: rgba(225, 48, 108, .85);
  font-size: 15px;
  letter-spacing: .08em;
}

.tg-ig-bridge-h {
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 64px;
  letter-spacing: -.02em;
}

.tg-ig-bridge-h em {
  background: var(--tg-ig-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: normal;
}

.tg-ig-bridge-flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 52px;
}

.tg-ig-bridge-step {
  flex: 1;
  max-width: 280px;
  padding: 0 28px;
}

.tg-ig-bridge-step-icon {
  width: 80px;
  height: 80px;
  border-radius: 24px;
  background: var(--tg-ig-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin: 0 auto 20px;
}

.tg-ig-bridge-step-title {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.4;
}

.tg-ig-bridge-step-body {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  line-height: 1.8;
  margin: 0;
}

.tg-ig-bridge-arrow {
  font-size: 26px;
  background: var(--tg-ig-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: .55;
  flex-shrink: 0;
  padding-top: 27px;
}

.tg-ig-bridge-note {
  font-size: 14px;
  color: rgba(255,255,255,.4);
  line-height: 1.8;
  margin: 0 auto;
  max-width: 520px;
}

@media (max-width: 767px) {
  .tg-ig-bridge { padding: 64px 20px; }
  .tg-ig-bridge-flow {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .tg-ig-bridge-step { max-width: 320px; padding: 0; }
  .tg-ig-bridge-arrow { padding-top: 0; transform: rotate(90deg); }
}

/* ────────────────────────────────
   HOW IT WORKS: 4ステップ
──────────────────────────────── */
.tg-steps.m-steps {
  background: #fff;
}

.tg-steps.m-steps .m-sec-h2,
.tg-steps.m-steps .m-sec-label,
.tg-steps.m-steps .m-sec-sub {
  color: #111;
}

.tg-steps.m-steps .m-sec-h2 em {
  background: var(--tg-ig-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tg-steps-grid {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 52px;
}

.tg-step {
  flex: 1;
  background: #f9f7ff;
  border-radius: 16px;
  padding: 28px 24px;
  border-bottom: 2px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}

.tg-step:hover {
  border-bottom-color: var(--tg-ig-pink);
  box-shadow: 0 4px 20px rgba(225, 48, 108, .1);
}

.tg-step-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 44px;
  background: var(--tg-ig-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 12px;
}

.tg-step-title {
  font-size: 15px;
  font-weight: 800;
  color: #111;
  margin-bottom: 10px;
  line-height: 1.4;
}

.tg-step-body {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

.tg-step-arrow {
  font-size: 20px;
  background: var(--tg-ig-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: .6;
  padding-top: 36px;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .tg-steps-grid {
    flex-direction: column;
    gap: 16px;
  }
  .tg-step-arrow {
    transform: rotate(90deg);
    padding-top: 0;
    align-self: center;
  }
}

/* ────────────────────────────────
   FEATURES: 3カード（ネイビー × IGグラデ）
──────────────────────────────── */
.tg-features {
  padding: 100px 40px;
  background: linear-gradient(160deg, #070b1a 0%, #0a0e27 50%, #070b1a 100%);
}

.tg-features-inner {
  max-width: 1040px;
  margin: 0 auto;
}

.tg-features .m-sec-label {
  color: rgba(225, 48, 108, .7);
}

.tg-features .m-sec-h2 {
  color: #fff;
}

.tg-features .m-sec-h2 em {
  background: var(--tg-ig-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tg-feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}

.tg-feat-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(131, 58, 180, .18);
  border-radius: 20px;
  padding: 36px 28px;
  transition: border-color .3s, box-shadow .3s;
}

.tg-feat-card:hover {
  border-color: rgba(225, 48, 108, .4);
  box-shadow: 0 8px 40px rgba(225, 48, 108, .1);
}

.tg-feat-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: var(--tg-ig-grad);
  color: #fff;
}

.tg-feat-num {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  background: var(--tg-ig-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: .8;
  letter-spacing: .08em;
  margin-bottom: 10px;
}

.tg-feat-title {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.4;
}

.tg-feat-body {
  font-size: 13.5px;
  color: rgba(255,255,255,.5);
  line-height: 1.8;
  margin: 0 0 20px;
}

.tg-feat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tg-feat-tags span {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: #E1306C;
  background: rgba(225, 48, 108, .1);
  border: 1px solid rgba(225, 48, 108, .22);
  padding: 3px 10px;
  border-radius: 100px;
}

@media (max-width: 900px) {
  .tg-feat-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .tg-features {
    padding: 64px 20px;
  }
  .tg-feat-card {
    padding: 28px 20px;
  }
}

/* ────────────────────────────────
   FEATURES: タブ切り替えUI
──────────────────────────────── */

/* タブボタン列 */
.tg-feat-tabs {
  display: flex;
  gap: 12px;
  margin-top: 52px;
  flex-wrap: wrap;
}

.tg-feat-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  cursor: pointer;
  transition: background .2s, border-color .2s, box-shadow .2s;
  text-align: left;
  flex: 1;
  min-width: 180px;
}

.tg-feat-tab:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(225, 48, 108, .3);
}

.tg-feat-tab.active {
  background: rgba(131, 58, 180, .12);
  border-color: rgba(225, 48, 108, .5);
  box-shadow: 0 0 24px rgba(225, 48, 108, .08);
}

.tg-feat-tab-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.5);
  flex-shrink: 0;
  transition: background .2s, color .2s;
}

.tg-feat-tab.active .tg-feat-tab-icon {
  background: var(--tg-ig-grad);
  color: #fff;
}

.tg-feat-tab-num {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.25);
  letter-spacing: .08em;
  display: none;
}

.tg-feat-tab-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  transition: color .2s;
  line-height: 1.3;
}

.tg-feat-tab.active .tg-feat-tab-label {
  color: #fff;
}

/* パネル */
.tg-feat-panels {
  margin-top: 20px;
}

.tg-feat-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(131, 58, 180, .18);
  border-radius: 24px;
  padding: 48px;
  animation: tgFeatIn .25s ease;
}

.tg-feat-panel.active {
  display: grid;
}

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

.tg-feat-panel-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.4;
}

.tg-feat-panel-body {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  line-height: 1.85;
  margin: 0 0 24px;
}

.tg-feat-panel-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.tg-feat-panel-point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,.65);
  line-height: 1.6;
}

.tg-feat-panel-point-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tg-ig-grad);
  flex-shrink: 0;
  margin-top: 6px;
}

/* モックUI（右側） */
.tg-feat-panel-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tg-feat-panel-mock {
  width: 100%;
  background: #fff;
  border: 1px solid #e4e4ec;
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 4px 28px rgba(0,0,0,0.08);
}

.tg-feat-mock-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: rgba(0,0,0,0.38);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* パターン分析モック */
.tg-feat-mock-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tg-feat-mock-row {
  display: grid;
  grid-template-columns: 44px 72px 1fr 72px;
  align-items: center;
  gap: 10px;
}

.tg-feat-mock-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  text-align: center;
}

.tg-feat-mock-badge--win  { background: rgba(5,150,105,.1);  color: #059669; border: 1px solid rgba(5,150,105,.25); }
.tg-feat-mock-badge--cand { background: rgba(217,119,6,.1);  color: #d97706; border: 1px solid rgba(217,119,6,.25); }
.tg-feat-mock-badge--hypo { background: rgba(0,0,0,.05); color: rgba(0,0,0,.42); border: 1px solid rgba(0,0,0,.1); }

.tg-feat-mock-name {
  font-size: 12px;
  color: rgba(0,0,0,.65);
  white-space: nowrap;
}

.tg-feat-mock-bar {
  height: 6px;
  background: rgba(0,0,0,.07);
  border-radius: 3px;
  overflow: hidden;
}

.tg-feat-mock-bar div {
  height: 100%;
  background: var(--tg-ig-grad);
  border-radius: 3px;
}

.tg-feat-mock-val {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: rgba(0,0,0,.45);
  text-align: right;
  white-space: nowrap;
}

/* パターン分析サマリー */
.tg-feat-mock-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: #f7f7fb;
  border-radius: 10px;
  margin-bottom: 14px;
  font-size: 12px;
  color: rgba(0,0,0,.55);
}
.tg-feat-mock-summary strong {
  color: #111;
  font-family: 'DM Mono', monospace;
  font-size: 14px;
}
.tg-feat-mock-summary-trend {
  color: #059669;
  font-size: 12px;
  font-weight: 700;
}
.tg-feat-mock-insight {
  margin-top: 14px;
  padding: 9px 12px;
  background: rgba(131,58,180,.06);
  border-left: 3px solid #833AB4;
  border-radius: 0 8px 8px 0;
  font-size: 12px;
  color: #5b21b6;
  line-height: 1.5;
}

/* ブリーフモック */
.tg-feat-mock-brief {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tg-feat-mock-brief-type {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: #E1306C;
  letter-spacing: .05em;
}

.tg-feat-mock-brief-theme {
  font-size: 13.5px;
  font-weight: 700;
  color: #111;
  line-height: 1.55;
}

.tg-feat-mock-brief-reason {
  font-size: 12px;
  color: rgba(0,0,0,.52);
  line-height: 1.7;
  padding: 10px 12px;
  background: rgba(225,48,108,.04);
  border-radius: 0 8px 8px 0;
  border-left: 2px solid rgba(225,48,108,.45);
}

.tg-feat-mock-brief-btn {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  padding: 9px 14px;
  background: var(--tg-ig-grad);
  border-radius: 8px;
  text-align: center;
}

/* ブリーフ2案目（サブ提案） */
.tg-feat-mock-brief-alt {
  padding: 12px 14px;
  background: #f7f7fb;
  border-radius: 10px;
  border: 1px solid #e4e4ec;
}
.tg-feat-mock-brief-alt .tg-feat-mock-brief-type {
  font-size: 11px;
  color: rgba(0,0,0,.38);
  margin-bottom: 5px;
}
.tg-feat-mock-brief-alt .tg-feat-mock-brief-theme {
  font-size: 12.5px;
  color: rgba(0,0,0,.65);
}

/* 返信モック */
.tg-feat-mock-replies-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.tg-feat-mock-replies-header .tg-feat-mock-label {
  margin-bottom: 0;
}
.tg-feat-mock-unread {
  font-size: 11px;
  font-weight: 700;
  color: #E1306C;
  background: rgba(225,48,108,.08);
  border: 1px solid rgba(225,48,108,.2);
  border-radius: 20px;
  padding: 2px 9px;
}

.tg-feat-mock-replies {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tg-feat-mock-reply {
  padding: 11px 13px;
  background: #f7f7fb;
  border-radius: 10px;
  border: 1px solid #ebebf2;
}
.tg-feat-mock-reply--unread {
  background: #fff;
  border-color: rgba(225,48,108,.2);
  border-left: 3px solid #E1306C;
}
}

.tg-feat-mock-reply-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}
.tg-feat-mock-reply-user {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: #E1306C;
}
.tg-feat-mock-reply-time {
  font-size: 10px;
  color: rgba(0,0,0,.3);
}

.tg-feat-mock-reply-text {
  font-size: 12px;
  color: rgba(0,0,0,.68);
  line-height: 1.5;
  margin-bottom: 6px;
}

.tg-feat-mock-reply-action {
  font-size: 11px;
  font-weight: 600;
  color: #833AB4;
}
.tg-feat-mock-reply-done {
  font-size: 11px;
  color: #059669;
}

/* 自動リプライモック */
.tg-feat-mock-autoreply {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tg-feat-mock-ar-rule {
  padding: 11px 13px;
  background: #f7f7fb;
  border-radius: 10px;
  border: 1px solid #ebebf2;
}

.tg-feat-mock-ar-rule--off {
  opacity: 0.45;
}

.tg-feat-mock-ar-rule-head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
  flex-wrap: wrap;
}

.tg-feat-mock-ar-status {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(0,0,0,.05);
  color: rgba(0,0,0,.35);
  border: 1px solid rgba(0,0,0,.1);
  white-space: nowrap;
}

.tg-feat-mock-ar-status--on {
  background: rgba(5,150,105,.1);
  color: #059669;
  border-color: rgba(5,150,105,.25);
}

.tg-feat-mock-ar-keyword {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: #E1306C;
  flex: 1;
}

.tg-feat-mock-ar-count {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  color: rgba(0,0,0,.35);
  margin-left: auto;
}

.tg-feat-mock-ar-reply {
  font-size: 12px;
  color: rgba(0,0,0,.55);
  line-height: 1.5;
}

/* SP対応 */
@media (max-width: 860px) {
  .tg-feat-panel.active {
    grid-template-columns: 1fr;
  }
  .tg-feat-panel {
    padding: 32px 24px;
  }
  .tg-feat-panel-visual {
    order: -1;
  }
}

@media (max-width: 640px) {
  .tg-feat-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* セクションの横パディングを突き抜けて端まで伸ばす */
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
    gap: 8px;
    margin-top: 32px;
  }
  .tg-feat-tabs::-webkit-scrollbar {
    display: none;
  }

  .tg-feat-tab {
    flex: 0 0 auto;
    min-width: unset;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    text-align: center;
  }

  .tg-feat-tab-icon {
    width: 32px;
    height: 32px;
  }

  .tg-feat-tab-label {
    font-size: 11px;
    white-space: nowrap;
  }
}

/* ────────────────────────────────
   PLAN: Pro IGグラデ強調
──────────────────────────────── */
.tg-plan-grid.m-plan-grid .m-plan-card.featured {
  background: var(--tg-ig-grad);
  border-color: transparent;
  box-shadow: 0 12px 56px rgba(225, 48, 108, .35);
}

.tg-plan-grid.m-plan-grid .m-plan-card.featured .m-plan-rec {
  background: rgba(255, 255, 255, .2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .35);
}

.tg-plan-grid.m-plan-grid .m-plan-card.featured .m-plan-name,
.tg-plan-grid.m-plan-grid .m-plan-card.featured .m-plan-price {
  color: #fff;
}

.tg-plan-grid.m-plan-grid .m-plan-card.featured .m-plan-price span {
  color: rgba(255,255,255,.45);
}

.tg-plan-grid.m-plan-grid .m-plan-card.featured .m-plan-limit {
  color: rgba(255,255,255,.65);
}

.tg-plan-grid.m-plan-grid .m-plan-card.featured .m-plan-feats li {
  color: rgba(255,255,255,.82);
}

.tg-plan-grid.m-plan-grid .m-plan-card.featured .m-plan-feats li::before {
  background: var(--tg-ig-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Proカード内ボタン（グラデ背景に映える白ボタン） */
.tg-plan-feat-btn {
  background: #fff !important;
  color: #833AB4 !important;
  font-weight: 700 !important;
  border: none !important;
}
.tg-plan-feat-btn:hover {
  background: rgba(255,255,255,.88) !important;
}

.tg-btn-solid-dark {
  background: var(--tg-ig-grad) !important;
  color: #fff !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 20px rgba(225, 48, 108, .35) !important;
}

.tg-btn-solid-dark:hover {
  opacity: .9;
}

/* ────────────────────────────────
   PLAN COMPARISON TABLE
──────────────────────────────── */
.tg-plan-compare {
  margin-top: 60px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e8e3f0;
}

.tg-pc-head,
.tg-pc-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
}

.tg-pc-head {
  background: #f9f7fc;
  border-bottom: 1px solid #e8e3f0;
}

.tg-pc-head-feature {
  padding: 16px 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #bbb;
  display: flex;
  align-items: flex-end;
}

.tg-pc-head-plan {
  padding: 20px 12px;
  text-align: center;
  font-size: 17px;
  font-weight: 800;
  color: #bbb;
  line-height: 1.3;
}

.tg-pc-head-plan span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #ccc;
  margin-top: 5px;
}

.tg-pc-head-plan--biz {
  background: #fff;
  color: #0a0a0a;
  border-top: 3px solid var(--tg-ig-pink);
  border-left: 1px solid #e8e3f0;
  border-right: 1px solid #e8e3f0;
  padding-top: 17px;
}

.tg-pc-head-plan--biz span {
  color: #888;
}

.tg-pc-group-label {
  grid-column: 1 / -1;
  padding: 9px 20px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #bbb;
  background: #f4f1fb;
  border-top: 1px solid #edeaf5;
  border-bottom: 1px solid #edeaf5;
}

.tg-pc-group-label--threads {
  color: rgba(225,48,108,.65);
  background: #fdf0f5;
  border-color: rgba(225,48,108,.12);
}

.tg-pc-row {
  background: #fff;
  border-bottom: 1px solid #f2eef8;
}

.tg-pc-row:last-child { border-bottom: none; }

.tg-pc-feature {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  text-align: left;
}

.tg-pc-fname {
  font-size: 13.5px;
  color: #333;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 3px;
}

.tg-pc-fdesc {
  font-size: 11px;
  color: #aaa;
  line-height: 1.5;
}

.tg-pc-cell {
  padding: 14px 10px;
  font-size: 13px;
  color: #ccc;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
}

.tg-pc-cell--biz {
  background: #fff9fb;
  border-left: 1px solid rgba(225,48,108,.1);
  border-right: 1px solid rgba(225,48,108,.1);
  color: #333;
  font-weight: 600;
}

.tg-pc-yes { color: #E1306C; font-weight: 700; }
.tg-pc-cell--biz.tg-pc-yes { color: #E1306C; }
.tg-pc-no { color: #ddd; }

@media (max-width: 640px) {
  .tg-plan-compare { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .tg-pc-head,
  .tg-pc-row { grid-template-columns: 150px 64px 64px 90px; min-width: 370px; }
  .tg-pc-feature { padding: 12px; font-size: 12px; }
  .tg-pc-cell { padding: 12px 6px; font-size: 12px; }
  .tg-pc-head-feature, .tg-pc-head-plan { padding: 12px 8px; }
  .tg-pc-group-label { padding: 7px 12px; }
}

/* ────────────────────────────────
   CTA: ネイビー × IGグロー
──────────────────────────────── */
.tg-cta.m-cta {
  background: linear-gradient(135deg, #070b1a 0%, #0a0e27 50%, #0f1535 100%);
}

.tg-cta.m-cta em {
  background: var(--tg-ig-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ────────────────────────────────
   セクション横幅統一: FV以外すべて1040px
──────────────────────────────── */
.m-pain-inner,
.m-steps-inner,
.m-plan-inner,
.m-faq-inner {
  max-width: 1040px;
}

/* ────────────────────────────────
   IG Bridge Compact（SOLUTION内）
──────────────────────────────── */
.tg-ig-bridge-compact {
  margin-top: 48px;
  padding: 32px 40px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  text-align: center;
}

.tg-ig-bc-label {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.tg-ig-bc-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.tg-ig-bc-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.tg-ig-bc-step-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
}

.tg-ig-bc-step span {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  white-space: nowrap;
}

.tg-ig-bc-arrow {
  font-size: 20px;
  color: rgba(255,255,255,0.2);
  flex-shrink: 0;
  align-self: center;
  margin-bottom: 20px;
}

.tg-ig-bc-note {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  margin: 0;
  line-height: 1.8;
}

@media (max-width: 600px) {
  .tg-ig-bridge-compact {
    padding: 24px 16px;
    margin-top: 28px;
  }
  .tg-ig-bc-step span {
    font-size: 11px;
  }
}

/* ────────────────────────────────
   90-Day Journey セクション
──────────────────────────────── */
.tg-journey {
  background: linear-gradient(160deg, #070b1a 0%, #0c1030 60%, #0a0e25 100%);
  padding: 96px 24px;
  position: relative;
  overflow: hidden;
}

.tg-journey::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(131, 58, 180, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.tg-journey-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ── テキストカラー（dark背景用） ── */
.tg-journey .m-sec-label { color: rgba(255, 255, 255, 0.45); }
.tg-journey .m-sec-h2   { color: #fff; }
.tg-journey .m-sec-h2 em {
  font-style: normal;
  background: var(--tg-ig-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.tg-journey .m-sec-sub  { color: rgba(255, 255, 255, 0.6); }

/* ── ダッシュボードスクショ ── */
.tg-journey-screenshot {
  width: 100%;
  max-width: 900px;
  margin: 40px auto 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.07);
}
.tg-journey-screenshot img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── タイムライン ── */
.tg-journey-timeline {
  width: 100%;
  position: relative;
  margin: 56px 0 48px;
}

.tg-journey-track {
  position: absolute;
  top: 56px; /* dot の中央に合わせる */
  left: calc(50% / 3);
  right: calc(50% / 3);
  height: 2px;
  background: linear-gradient(90deg, rgba(131,58,180,0.3) 0%, rgba(225,48,108,0.3) 50%, rgba(131,58,180,0.3) 100%);
}

.tg-journey-phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

.tg-journey-phase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.tg-journey-phase-day {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 4px 12px;
  white-space: nowrap;
}

.tg-journey-phase-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--tg-ig-grad);
  box-shadow: 0 0 12px rgba(225, 48, 108, 0.4);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.tg-journey-phase-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  letter-spacing: 0.04em;
}

.tg-journey-phase-body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,0.55);
  margin: 0;
  max-width: 260px;
}

/* ── 目標設定イメージ ── */
.tg-journey-goal {
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 32px 40px;
  margin-bottom: 32px;
  width: 100%;
  max-width: 540px;
}

.tg-journey-goal-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.tg-journey-goal-item--target {
  background: rgba(131,58,180,0.08);
  border: 1px solid rgba(131,58,180,0.25);
  border-radius: 14px;
  padding: 16px 20px;
}

.tg-journey-goal-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
}

.tg-journey-goal-value {
  font-family: 'Barlow', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.tg-journey-goal-value span {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  margin-left: 4px;
}

.tg-journey-goal-item--target .tg-journey-goal-value {
  background: var(--tg-ig-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tg-journey-goal-note {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
}

.tg-journey-goal-arrow {
  font-size: 24px;
  color: rgba(255,255,255,0.25);
  flex-shrink: 0;
}

/* ── プランラベル ── */
.tg-journey-plan-labels {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.tg-journey-plan-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tg-journey-plan-badge {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  padding: 3px 8px;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
}

.tg-journey-plan-badge--pro {
  background: linear-gradient(135deg, rgba(131,58,180,0.25), rgba(225,48,108,0.2));
  border-color: rgba(225,48,108,0.35);
  color: #fff;
}

.tg-journey-plan-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

/* ── CTA ── */
.tg-journey-cta {
  margin-top: 0;
}

/* ── レスポンシブ（SP: 縦並び）── */
@media (max-width: 720px) {
  .tg-journey {
    padding: 72px 20px;
  }

  .tg-journey-track {
    display: none;
  }

  .tg-journey-phases {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .tg-journey-phase {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 16px;
    padding-left: 8px;
  }

  .tg-journey-phase-dot {
    margin-top: 4px;
  }

  .tg-journey-phase > div:not(.tg-journey-phase-dot),
  .tg-journey-phase > p {
    text-align: left;
  }

  .tg-journey-phase-day {
    align-self: flex-start;
  }

  .tg-journey-phase-body {
    max-width: 100%;
  }

  .tg-journey-goal {
    flex-direction: column;
    padding: 24px 20px;
    gap: 12px;
    max-width: 100%;
  }

  .tg-journey-goal-arrow {
    transform: rotate(90deg);
  }

  .tg-journey-goal-item--target {
    width: 100%;
  }

  .tg-journey-plan-labels {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── インサイト画面モック ── */
.tjm {
  background: #f3f4f6;
  font-family: 'Noto Sans JP', sans-serif;
  padding: 0;
}
.tjm-header {
  background: #0a0e27;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}
.tjm-header-logo {
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.tjm-header-sync {
  color: rgba(255,255,255,0.5);
  font-size: 10px;
}
.tjm-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* Journey Banner */
.tjm-banner {
  background: linear-gradient(135deg, #833AB4, #E1306C, #F77737);
  border-radius: 16px;
  padding: 16px 18px;
  color: #fff;
}
.tjm-banner-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.tjm-banner-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 14px;
}
.tjm-banner-day {
  font-size: 11px;
  font-weight: 700;
  background: rgba(255,255,255,0.18);
  padding: 3px 10px;
  border-radius: 20px;
}
.tjm-banner-desc {
  font-size: 11px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 10px;
}
.tjm-follower-box {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 10px;
}
.tjm-follower-header {
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 6px;
  color: rgba(255,255,255,0.9);
}
.tjm-follower-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.tjm-follower-count {
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
}
.tjm-bar-track {
  flex: 1;
  height: 8px;
  background: rgba(255,255,255,0.2);
  border-radius: 99px;
  overflow: hidden;
}
.tjm-bar-fill {
  height: 100%;
  background: rgba(255,255,255,0.7);
  border-radius: 99px;
}
.tjm-follower-remain {
  font-size: 10px;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
}
.tjm-reply-row {
  font-size: 10px;
  color: rgba(255,255,255,0.65);
  padding-top: 6px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.tjm-progress-track {
  width: 100%;
  height: 8px;
  background: rgba(255,255,255,0.2);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 6px;
}
.tjm-progress-fill {
  height: 100%;
  background: #fff;
  border-radius: 99px;
}
.tjm-progress-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 10px;
}
.tjm-phase {
  font-size: 11px;
  color: rgba(255,255,255,0.8);
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.2);
}
/* KPI Grid */
.tjm-kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.tjm-kpi-card {
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
}
.tjm-kpi-label {
  font-size: 10px;
  color: #9ca3af;
  font-weight: 500;
  margin-bottom: 4px;
}
.tjm-kpi-value {
  font-size: 22px;
  font-weight: 900;
  color: #111;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.tjm-kpi-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 6px;
}
.tjm-kpi-badge.green { background: #dcfce7; color: #16a34a; }
.tjm-kpi-sub {
  font-size: 10px;
  color: #16a34a;
  font-weight: 600;
  margin-top: 2px;
}
/* Patterns */
.tjm-patterns {
  background: #fff;
  border-radius: 16px;
  padding: 14px 16px;
}
.tjm-patterns-title {
  font-size: 12px;
  font-weight: 800;
  color: #374151;
  margin-bottom: 10px;
}
.tjm-pattern-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.tjm-pattern-row:last-child { margin-bottom: 0; }
.tjm-pat-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  white-space: nowrap;
}
.tjm-pat-badge.win { background: #dcfce7; color: #16a34a; }
.tjm-pat-badge.cand { background: #fef9c3; color: #ca8a04; }
.tjm-pat-name {
  font-size: 11px;
  font-weight: 600;
  color: #374151;
  min-width: 90px;
}
.tjm-pat-bar {
  flex: 1;
  height: 7px;
  background: #f3f4f6;
  border-radius: 99px;
  overflow: hidden;
}
.tjm-pat-bar div {
  height: 100%;
  background: #22c55e;
  border-radius: 99px;
}
.tjm-pat-val {
  font-size: 10px;
  font-weight: 700;
  color: #6b7280;
  white-space: nowrap;
  min-width: 70px;
  text-align: right;
}
.tjm-pat-val.green { color: #16a34a; }
