.th-root {
  background: #060b24;
  padding: 72px 0 80px;
  position: relative; overflow: hidden;
}
.th-root::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(155deg, rgba(26,15,60,0.88) 0%, rgba(14,26,92,0.84) 45%, rgba(10,18,48,0.88) 100%);
  z-index: 0; pointer-events: none;
}
.th-fade-top {
  position: absolute; top: 0; left: 0; right: 0; height: 140px;
  background: linear-gradient(to bottom, #060b24, transparent);
  pointer-events: none; z-index: 3;
}
.th-fade-bottom {
  position: absolute; bottom: 0; left: 0; right: 0; height: 140px;
  background: linear-gradient(to top, #060b24, transparent);
  pointer-events: none; z-index: 3;
}

/* particles */
.th-particle {
  position: absolute; bottom: 0; border-radius: 50%;
  opacity: 0; pointer-events: none; z-index: 1;
  animation: th-float linear infinite;
}
@keyframes th-float {
  0%   { transform: translateY(0); opacity: 0; }
  10%  { opacity: 0.5; }
  90%  { opacity: 0.2; }
  100% { transform: translateY(-100vh); opacity: 0; }
}

.th-inner {
  max-width: 1300px; margin: 0 auto; padding: 0 48px;
  position: relative; z-index: 4;
}

/* header */
.th-header { text-align: center; margin-bottom: 64px; }
.th-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-space); font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: #c0f43c;
  border: 1px solid rgba(192,244,60,0.3); padding: 6px 20px;
  border-radius: 100px; margin-bottom: 24px;
}
.th-eye-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #c0f43c; box-shadow: 0 0 8px #c0f43c;
  animation: th-blink 2s ease-in-out infinite;
}
@keyframes th-blink {
  0%,100% { opacity: 1; box-shadow: 0 0 8px #c0f43c; }
  50%      { opacity: 0.3; box-shadow: none; }
}
.th-h2 {
  font-family: var(--font-space);
  font-size: clamp(32px, 4vw, 58px);
  font-weight: 800; color: #fff;
  letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 18px;
}
.th-h2-grad {
  background: linear-gradient(100deg, #1b9ad6, #c0f43c);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.th-sub {
  font-family: var(--font-inter); font-size: 16px;
  color: rgba(255,255,255,0.70); max-width: 520px;
  margin: 0 auto; line-height: 1.7;
}

/* layout */
.th-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px; align-items: stretch;
}
.th-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* connector */
.th-connector { overflow: visible; }

/* card */
.th-card {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(255,255,255,0.07);
  border-radius: 20px; padding: 0; overflow: hidden;
  cursor: pointer; text-align: left;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  min-height: 240px;
}
.th-card:hover {
  border-color: rgba(var(--accent-rgb), 0.4);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb),0.2), 0 16px 40px rgba(var(--accent-rgb),0.12);
  transform: translateY(-3px);
}
.th-card-active {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb),0.35),
              0 20px 50px rgba(var(--accent-rgb),0.2) !important;
}
.th-card-bar {
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--accent); opacity: 0; transition: opacity 0.3s;
}
.th-card:hover .th-card-bar,
.th-card-active .th-card-bar { opacity: 1; }

.th-ghost {
  position: absolute; bottom: -10px; right: 10px;
  font-family: var(--font-space); font-size: 90px; font-weight: 900;
  color: var(--accent); opacity: 0.05; line-height: 1;
  pointer-events: none; user-select: none; letter-spacing: -0.04em;
  transition: opacity 0.3s;
}
.th-card:hover .th-ghost,
.th-card-active .th-ghost { opacity: 0.1; }

.th-card-content {
  padding: 28px 26px 24px;
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 10px; height: 100%;
}
.th-card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(var(--accent-rgb),0.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px; transition: background 0.3s, border-color 0.3s;
}
.th-card:hover .th-card-icon,
.th-card-active .th-card-icon {
  background: rgba(var(--accent-rgb),0.1);
  border-color: rgba(var(--accent-rgb),0.4);
}
.th-card-eyebrow {
  font-family: var(--font-space); font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); opacity: 0.9;
}
.th-card-title {
  font-family: var(--font-space); font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 800; color: #fff; line-height: 1.25;
}
.th-progress-wrap {
  height: 3px; background: rgba(255,255,255,0.08);
  border-radius: 100px; overflow: hidden; margin-top: 4px;
}
.th-progress-bar {
  height: 100%; border-radius: 100px;
  animation: th-progress 10s linear forwards;
}
@keyframes th-progress { from { width: 0%; } to { width: 100%; } }

/* detail panel */
.th-detail {
  background: linear-gradient(145deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.03) 100%);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(var(--accent-rgb), 0.3);
  border-radius: 24px; padding: 48px 44px;
  position: relative; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb),0.1), inset 0 1px 0 rgba(255,255,255,0.05);
  display: flex; flex-direction: column; gap: 0;
  transition: border-color 0.4s, box-shadow 0.4s;
}
.th-detail-glow {
  position: absolute; top: -60px; right: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb),0.15) 0%, transparent 70%);
  pointer-events: none; transition: background 0.4s;
}
.th-detail-eye {
  font-family: var(--font-space); font-size: 10px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px; display: block;
}
.th-detail-title {
  font-family: var(--font-space);
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 800; color: #fff;
  line-height: 1.2; margin-bottom: 20px; letter-spacing: -0.02em;
}
.th-detail-body {
  font-family: var(--font-inter); font-size: 15px;
  color: rgba(255,255,255,0.80); line-height: 1.75; margin-bottom: 32px;
}
.th-bullets { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.th-bullet {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-inter); font-size: 14px;
  color: rgba(255,255,255,0.8);
  animation: th-bullet-in 0.4s ease both;
}
@keyframes th-bullet-in {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: none; }
}
.th-bullet-dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
  box-shadow: 0 0 6px currentColor;
}
.th-dots { display: flex; gap: 8px; margin-top: 36px; }
.th-dot {
  width: 28px; height: 4px; border-radius: 100px;
  background: rgba(255,255,255,0.15);
  border: none; cursor: pointer;
  transition: background 0.3s, width 0.3s;
}
.th-dot-active { width: 48px; background: var(--accent); }

/* bridge connector */
.th-bridge {
  position: absolute;
  left: calc(50% - 14px);
  top: 0; bottom: 0;
  width: 28px;
  pointer-events: none;
  z-index: 5;
  display: flex; align-items: center; justify-content: center;
}
.th-bridge-line {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, rgba(var(--rgb),0.15), rgba(var(--rgb),0.6), rgba(var(--rgb),0.15));
  border-radius: 2px;
  top: 50%; transform: translateY(-50%);
}
.th-bridge-node {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: th-node-pulse 2s ease-in-out infinite;
}
.th-bridge-node-l { left: -4px; }
.th-bridge-node-r { right: -4px; animation-delay: 0.3s; }
@keyframes th-node-pulse {
  0%,100% { transform: translateY(-50%) scale(1); opacity: 1; }
  50%      { transform: translateY(-50%) scale(1.4); opacity: 0.6; }
}
.th-bridge-dot {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent), 0 0 16px var(--accent);
  animation: th-bridge-flow 1.6s ease-in-out infinite;
}
.th-bridge-dot-2 {
  animation: th-bridge-flow 1.6s ease-in-out infinite;
  animation-delay: 0.8s;
}
@keyframes th-bridge-flow {
  0%   { left: -4px; opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { left: calc(100% - 4px); opacity: 0; }
}

/* reveal */
.th-reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.75s ease, transform 0.75s ease; }
.th-visible { opacity: 1; transform: none; }
.th-reveal:nth-child(2) { transition-delay: 0.12s; }

/* detail content fade-in on switch */
.th-detail-content {
  display: flex; flex-direction: column; gap: 0; flex: 1;
  animation: th-detail-in 0.35s ease both;
}
@keyframes th-detail-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* responsive */
@media (max-width: 1024px) {
  .th-layout { grid-template-columns: 1fr; gap: 20px; }
  .th-detail { position: static; scroll-margin-top: 80px; }
  .th-bridge { display: none; }
  .th-card { min-height: 180px; touch-action: manipulation; }
  .th-card:active { transform: scale(0.97); }
}
@media (max-width: 600px) {
  .th-inner { padding: 0 20px; }
  .th-root { padding: 72px 0 80px; }
  .th-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .th-card { min-height: 160px; border-radius: 14px; }
  .th-card-content { padding: 18px 16px 16px; gap: 7px; }
  .th-card-icon { width: 40px; height: 40px; border-radius: 10px; }
  .th-card-eyebrow { font-size: 9px; }
  .th-card-title { font-size: 13px; }
  .th-ghost { font-size: 60px; }
  .th-detail { padding: 28px 20px; border-radius: 18px; }
  .th-detail-title { font-size: 20px; }
  .th-detail-body { font-size: 14px; }
  .th-bullet { font-size: 13px; }
}
